Option -n is redundant

This commit is contained in:
Arun Prakash Jana 2017-07-06 00:02:09 +05:30
parent 3f7a6c0b5d
commit a8f7ee9deb
No known key found for this signature in database
GPG key ID: A75979F35C080412
3 changed files with 4 additions and 10 deletions

View file

@ -133,8 +133,8 @@ Have fun with it! PRs are welcome. Check out [#1](https://github.com/jarun/nnn/i
#### Cmdline options
usage: nnn [-c N] [-e] [-i] [-l] [n]
[-p nlay] [-S] [-v] [-h] [PATH]
usage: nnn [-c N] [-e] [-i] [-l] [n] [-p nlay] [-S]
[-v] [-h] [PATH]
The missing terminal file browser for X.
@ -146,7 +146,6 @@ Have fun with it! PRs are welcome. Check out [#1](https://github.com/jarun/nnn/i
-e use exiftool instead of mediainfo
-i start in navigate-as-you-type mode
-l start in light mode (fewer details)
-n disable color for directory entries
-p nlay path to custom nlay
-S start in disk usage analyzer mode
-v show program version and exit

4
nnn.1
View file

@ -10,7 +10,6 @@
.Op Ar -e
.Op Ar -i
.Op Ar -l
.Op Ar -n
.Op Ar -p nlay
.Op Ar -S
.Op Ar -v
@ -117,9 +116,6 @@ supports the following options:
.Fl l
start in light mode (fewer details)
.Pp
.Fl n
disable color for directory entries
.Pp
.Fl "p nlay"
path to custom nlay
.Pp

5
nnn.c
View file

@ -2444,8 +2444,8 @@ nochange:
static void
usage(void)
{
printf("usage: nnn [-c N] [-e] [-i] [-l] [n]\n\
[-p nlay] [-S] [-v] [-h] [PATH]\n\n\
printf("usage: nnn [-c N] [-e] [-i] [-l] [-p nlay] [-S]\n\
[-v] [-h] [PATH]\n\n\
The missing terminal file browser for X.\n\n\
positional arguments:\n\
PATH directory to open [default: current dir]\n\n\
@ -2454,7 +2454,6 @@ optional arguments:\n\
-e use exiftool instead of mediainfo\n\
-i start in navigate-as-you-type mode\n\
-l start in light mode (fewer details)\n\
-n disable color for directory entries\n\
-p nlay path to custom nlay\n\
-S start in disk usage analyzer mode\n\
-v show program version and exit\n\