mirror of
https://code.blicky.net/yorhel/ncdu.git
synced 2026-01-12 17:08:39 -09:00
Add -V and --version as alias to -v
This commit is contained in:
parent
9f2350bbc9
commit
d95c65b032
2 changed files with 3 additions and 3 deletions
|
|
@ -24,7 +24,7 @@ provides a fast way to see what directories are using your disk space.
|
|||
|
||||
Print a short help message and quit.
|
||||
|
||||
=item -v
|
||||
=item -v, -V, --version
|
||||
|
||||
Print ncdu version and quit.
|
||||
|
||||
|
|
|
|||
|
|
@ -121,7 +121,7 @@ static void argv_parse(int argc, char **argv) {
|
|||
static yopt_opt_t opts[] = {
|
||||
{ 'h', 0, "-h,-?" },
|
||||
{ 'q', 0, "-q" },
|
||||
{ 'v', 0, "-v" },
|
||||
{ 'v', 0, "-v,-V,--version" },
|
||||
{ 'x', 0, "-x" },
|
||||
{ 'e', 0, "-e" },
|
||||
{ 'r', 0, "-r" },
|
||||
|
|
@ -150,7 +150,7 @@ static void argv_parse(int argc, char **argv) {
|
|||
printf("ncdu <options> <directory>\n\n");
|
||||
printf(" -h This help message\n");
|
||||
printf(" -q Quiet mode, refresh interval 2 seconds\n");
|
||||
printf(" -v Print version\n");
|
||||
printf(" -v,-V,--version Print version\n");
|
||||
printf(" -x Same filesystem\n");
|
||||
printf(" -e Enable extended information\n");
|
||||
printf(" -r Read only\n");
|
||||
|
|
|
|||
Loading…
Reference in a new issue