Browse Source

Shorten option list

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

+ 2
- 3
README.md View File

@@ -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


+ 2
- 3
src/nnn.c View File

@@ -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"


Loading…
Cancel
Save