aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2017-07-06 00:02:09 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2017-07-06 00:02:09 +0530
commita8f7ee9debe88c27d86ccce3680d2f495e90df8f (patch)
tree5b55c2b55a8dfd097456115aab98e902b560ea83
parent3f7a6c0b5dbc3991f32a7beae8c17095b134b96e (diff)
downloadnnn-a8f7ee9debe88c27d86ccce3680d2f495e90df8f.tar.gz
Option -n is redundant
-rw-r--r--README.md5
-rw-r--r--nnn.14
-rw-r--r--nnn.c5
3 files changed, 4 insertions, 10 deletions
diff --git a/README.md b/README.md
index e402006..eb85368 100644
--- 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 84cb799..4fde8e4 100644
--- 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 504a24a..2fceeae 100644
--- 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\