aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-09-28 20:04:24 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-09-28 20:04:24 +0530
commita7b61f79c4bf8e2f56bfe6f8612438f30381816a (patch)
treee079c0e8ac8865151fcbc9c855cf315cf5143e2d
parente80b9b3c6a2a91165ba77972452dca9de752d3c6 (diff)
downloadnnn-a7b61f79c4bf8e2f56bfe6f8612438f30381816a.tar.gz
Shorten option list
-rw-r--r--README.md5
-rw-r--r--src/nnn.c5
2 files changed, 4 insertions, 6 deletions
diff --git a/README.md b/README.md
index 80037e7..9b7373d 100644
--- a/README.md
+++ b/README.md
@@ -194,13 +194,12 @@ Completion scripts for Bash, Fish and Zsh are [available](misc/auto-completion).
#### Cmdline options
```
-usage: nnn [-a] [-b key] [-d] [-f] [-H] [-i] [-n] [-o]
- [-p file] [-r] [-s] [-S] [-t] [-v] [-h] [PATH]
+usage: nnn [OPTIONS] [PATH]
The missing terminal file manager for X.
positional args:
- PATH start dir [default: current dir]
+ PATH start dir [default: .]
optional args:
-a use access time
diff --git a/src/nnn.c b/src/nnn.c
index 17eec56..5e71f9e 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -4609,11 +4609,10 @@ nochange:
static void usage(void)
{
fprintf(stdout,
- "%s: nnn [-a] [-b key] [-d] [-f] [-H] [-i] [-n] [-o]\n"
- " [-p file] [-r] [-s] [-S] [-t] [-v] [-h] [PATH]\n\n"
+ "%s: nnn [OPTIONS] [PATH]\n\n"
"The missing terminal file manager for X.\n\n"
"positional args:\n"
- " PATH start dir [default: current dir]\n\n"
+ " PATH start dir [default: .]\n\n"
"optional args:\n"
" -a use access time\n"
" -b key open bookmark key\n"