diff --git a/lib/zpack.h b/lib/zpack.h index 820ff91..f5ac7e5 100644 --- a/lib/zpack.h +++ b/lib/zpack.h @@ -11,7 +11,7 @@ #include #include #include -#define ZPACK_VERSION "1.0.1" +#define ZPACK_VERSION "1.0.2" #define ZPACK_FILE_VERSION 0 // forward declarations diff --git a/programs/zpack-cli.cpp b/programs/zpack-cli.cpp index 24ff55e..8854c4a 100644 --- a/programs/zpack-cli.cpp +++ b/programs/zpack-cli.cpp @@ -343,16 +343,18 @@ enum { }; static std::unordered_map argMap = { - {"-c", ARG_CREATE}, - {"--create", ARG_CREATE}, - {"-u", ARG_UNPACK}, - {"--unpack", ARG_UNPACK}, - {"-o", ARG_OUTPUT}, - {"--output", ARG_OUTPUT}, - {"-l", ARG_LIST}, - {"--list", ARG_LIST}, - {"-f", ARG_FAST}, - {"--fast", ARG_FAST}, + {"-c", ARG_CREATE}, + {"--create", ARG_CREATE}, + {"-u", ARG_UNPACK}, + {"--unpack", ARG_UNPACK}, + {"-o", ARG_OUTPUT}, + {"--output", ARG_OUTPUT}, + {"-l", ARG_LIST}, + {"--list", ARG_LIST}, + {"-f", ARG_FAST}, + {"--fast", ARG_FAST}, + {"-v", ARG_VERSION}, + {"--version", ARG_VERSION}, }; int main(int argc, char **argv) @@ -410,7 +412,7 @@ int main(int argc, char **argv) case ARG_VERSION: std::cout << PROGRAM_NAME "\n" - "Copyright (c) 2021 LeadRDRK. Licensed under the BSD 3-Clause license.\n"; + "Copyright (c) 2021 LeadRDRK. Licensed under the zlib license.\n"; return 0; } }