From 986b8d62a7a65b69fc508ed0e1c1effe840f9094 Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Tue, 13 Sep 2022 23:31:10 +0300 Subject: [PATCH] 1.0.1 --- HISTORY.md | 4 +++- README.md | 4 ++-- make-libs-list.c | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index d0b7b34..f69cb17 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -6,6 +6,8 @@ - ℹ️ - Information - ♻️ - Edited -## ??/09/2022 - (**Current**) +> This project use Semantic Versioning 2.0.0 https://semver.org/ + +## 13/09/2022 - (1.0.1) - ✔️ - Fixed bad returned value of `assets_version` - ♻️ - Changed the letter argument of the program to return version information from `s` to `i` diff --git a/README.md b/README.md index a3bf0d1..299a000 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ Usage: - w|l|x (windows or linux or osx) Other: - make-libs-string s - to get info + make-libs-string i - to get version info ``` Utility has two required arguments, @@ -66,7 +66,7 @@ Usage: - w|l|x (windows or linux or osx) Other: - make-libs-string s - to get info + make-libs-string i - to get version info ``` Программа имеет два обязательных аргумента, diff --git a/make-libs-list.c b/make-libs-list.c index ae244d6..cd8bc35 100644 --- a/make-libs-list.c +++ b/make-libs-list.c @@ -16,7 +16,7 @@ void generate_library_list(cJSON *input_json, cJSON *output_json, char output_sy int main(int argc, char const *argv[]) { - if (argc <= 2 || argc > 3) + if (argc != 3) { usage(); }