From 7bfc1997cce43db8cf78b87b0801bfe51a195252 Mon Sep 17 00:00:00 2001 From: jakcron Date: Sun, 14 Nov 2021 13:44:26 +0800 Subject: [PATCH] Fix typo in file type CLI option. --- README.md | 2 +- src/Settings.cpp | 2 +- src/version.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 38ee11c..9d3a198 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ nstool -v some_file.bin ``` ## Specify File Type -NSTool will in most cases correctly identify the file type. However you can override this and manually specify the file type with the `-t` or `--intype` option: +NSTool will in most cases correctly identify the file type. However you can override this and manually specify the file type with the `-t` or `--type` option: ``` nstool -t cnmt some_file.bin ``` diff --git a/src/Settings.cpp b/src/Settings.cpp index 82487c6..2c211ba 100644 --- a/src/Settings.cpp +++ b/src/Settings.cpp @@ -545,7 +545,7 @@ void nstool::SettingsInitializer::parse_args(const std::vector& arg opts.registerOptionHandler(std::shared_ptr(new FlagOptionHandler(opt.is_dev, {"-d", "--dev"}))); // process input file type - opts.registerOptionHandler(std::shared_ptr(new FileTypeOptionHandler(infile.filetype, { "-t", "--intype" }))); + opts.registerOptionHandler(std::shared_ptr(new FileTypeOptionHandler(infile.filetype, { "-t", "--type" }))); // get user-provided keydata opts.registerOptionHandler(std::shared_ptr(new SingleParamPathOptionHandler(mKeysetPath, {"-k", "--keyset"}))); diff --git a/src/version.h b/src/version.h index cdf2ade..7a1cd58 100644 --- a/src/version.h +++ b/src/version.h @@ -3,5 +3,5 @@ #define BIN_NAME "nstool" #define VER_MAJOR 1 #define VER_MINOR 6 -#define VER_PATCH 0 +#define VER_PATCH 1 #define AUTHORS "jakcron" \ No newline at end of file