]> Sergey Matveev's repositories - nnn.git/commitdiff
Option -n is redundant
authorArun Prakash Jana <engineerarun@gmail.com>
Wed, 5 Jul 2017 18:32:09 +0000 (00:02 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Wed, 5 Jul 2017 18:32:09 +0000 (00:02 +0530)
README.md
nnn.1
nnn.c

index e402006074c7e6d6b0ba99142647e017a07c7432..eb85368bbbc0a50f49b58e92f5ef93924a67fa54 100644 (file)
--- a/README.md
+++ b/README.md
@@ -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
diff --git a/nnn.1 b/nnn.1
index 84cb799989bcffaeb63eaa93a06c269f81c016f9..4fde8e4f47eebb358f487d959d3729091b12aed6 100644 (file)
--- a/nnn.1
+++ b/nnn.1
@@ -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
diff --git a/nnn.c b/nnn.c
index 504a24af2258c6d03e266f31cd69138e5f6bec80..2fceeaef04e05a1ad6b3616ba5e4ef1271ca26b3 100644 (file)
--- a/nnn.c
+++ b/nnn.c
@@ -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\