mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +00:00
Use a concise help
This commit is contained in:
parent
63f5abd054
commit
bf6419d6af
16
README.md
16
README.md
|
@ -208,15 +208,15 @@ positional args:
|
||||||
PATH start dir [default: current dir]
|
PATH start dir [default: current dir]
|
||||||
|
|
||||||
optional args:
|
optional args:
|
||||||
-b key bookmark key to open
|
-b key open bookmark key
|
||||||
-C disable directory color
|
-C disable directory color
|
||||||
-e use exiftool instead of mediainfo
|
-e use exiftool for media info
|
||||||
-i start in navigate-as-you-type mode
|
-i nav-as-you-type mode
|
||||||
-l start in light mode
|
-l light mode
|
||||||
-p file copy selection to file (stdout if '-')
|
-p file selection file (stdout if '-')
|
||||||
-S start in disk usage analyser mode
|
-S disk usage mode
|
||||||
-v show program version
|
-v show version
|
||||||
-h show this help
|
-h show help
|
||||||
```
|
```
|
||||||
|
|
||||||
`>` indicates the currently selected entry in `nnn`.
|
`>` indicates the currently selected entry in `nnn`.
|
||||||
|
|
16
src/nnn.c
16
src/nnn.c
|
@ -3602,15 +3602,15 @@ static void usage(void)
|
||||||
"positional args:\n"
|
"positional args:\n"
|
||||||
" PATH start dir [default: current dir]\n\n"
|
" PATH start dir [default: current dir]\n\n"
|
||||||
"optional args:\n"
|
"optional args:\n"
|
||||||
" -b key bookmark key to open\n"
|
" -b key open bookmark key\n"
|
||||||
" -C disable directory color\n"
|
" -C disable directory color\n"
|
||||||
" -e use exiftool instead of mediainfo\n"
|
" -e use exiftool for media info\n"
|
||||||
" -i start in navigate-as-you-type mode\n"
|
" -i nav-as-you-type mode\n"
|
||||||
" -l start in light mode\n"
|
" -l light mode\n"
|
||||||
" -p file copy selection to file (stdout if '-')\n"
|
" -p file selection file (stdout if '-')\n"
|
||||||
" -S start in disk usage analyser mode\n"
|
" -S disk usage mode\n"
|
||||||
" -v show program version\n"
|
" -v show version\n"
|
||||||
" -h show this help\n\n"
|
" -h show help\n\n"
|
||||||
"Version: %s\n%s\n", VERSION, GENERAL_INFO);
|
"Version: %s\n%s\n", VERSION, GENERAL_INFO);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue