Browse Source

Option -n is redundant

master
Arun Prakash Jana 7 years ago
parent
commit
a8f7ee9deb
No known key found for this signature in database GPG Key ID: A75979F35C080412
3 changed files with 4 additions and 10 deletions
  1. +2
    -3
      README.md
  2. +0
    -4
      nnn.1
  3. +2
    -3
      nnn.c

+ 2
- 3
README.md View File

@@ -133,8 +133,8 @@ Have fun with it! PRs are welcome. Check out [#1](https://github.com/jarun/nnn/i


#### Cmdline options #### 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. 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 -e use exiftool instead of mediainfo
-i start in navigate-as-you-type mode -i start in navigate-as-you-type mode
-l start in light mode (fewer details) -l start in light mode (fewer details)
-n disable color for directory entries
-p nlay path to custom nlay -p nlay path to custom nlay
-S start in disk usage analyzer mode -S start in disk usage analyzer mode
-v show program version and exit -v show program version and exit


+ 0
- 4
nnn.1 View File

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


+ 2
- 3
nnn.c View File

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


Loading…
Cancel
Save