diff --git a/HISTORY.md b/HISTORY.md new file mode 100644 index 0000000..d0b7b34 --- /dev/null +++ b/HISTORY.md @@ -0,0 +1,11 @@ +## Legend +- 🐛 - Bug +- ✔ī¸ - Fixed +- ❌ - Removed +- ➕ - Added +- ℹī¸ - Information +- â™ģī¸ - Edited + +## ??/09/2022 - (**Current**) +- ✔ī¸ - 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/make-libs-list.c b/make-libs-list.c index bb5b861..ae244d6 100644 --- a/make-libs-list.c +++ b/make-libs-list.c @@ -8,7 +8,7 @@ #include #include -#define VERSION "1.0.0" // software version +#define VERSION "1.0.1" // software version void usage(); void info(cJSON *json); @@ -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 <= 2 || argc > 3) { usage(); } @@ -46,7 +46,7 @@ int main(int argc, char const *argv[]) default: usage(); break; - case 's': + case 'i': info(json); break; case 'w': @@ -80,7 +80,7 @@ void usage() printf(" %s\n\n", "make-libs-string "); printf(" %s\n\n", " - w|l|x (windows or linux or osx)"); printf("%s\n", "Other:"); - printf(" %s\n", "make-libs-string s - to get info"); + printf(" %s\n", "make-libs-string i - to get version info"); } void info(cJSON *json)