mirror of
https://github.com/jakcron/nstool
synced 2024-12-24 21:51:14 +00:00
Fix typo in file type CLI option.
This commit is contained in:
parent
bf3e43d4fd
commit
7bfc1997cc
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
```
|
||||
|
|
|
@ -545,7 +545,7 @@ void nstool::SettingsInitializer::parse_args(const std::vector<std::string>& arg
|
|||
opts.registerOptionHandler(std::shared_ptr<FlagOptionHandler>(new FlagOptionHandler(opt.is_dev, {"-d", "--dev"})));
|
||||
|
||||
// process input file type
|
||||
opts.registerOptionHandler(std::shared_ptr<FileTypeOptionHandler>(new FileTypeOptionHandler(infile.filetype, { "-t", "--intype" })));
|
||||
opts.registerOptionHandler(std::shared_ptr<FileTypeOptionHandler>(new FileTypeOptionHandler(infile.filetype, { "-t", "--type" })));
|
||||
|
||||
// get user-provided keydata
|
||||
opts.registerOptionHandler(std::shared_ptr<SingleParamPathOptionHandler>(new SingleParamPathOptionHandler(mKeysetPath, {"-k", "--keyset"})));
|
||||
|
|
|
@ -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"
|
Loading…
Reference in a new issue