Update help

This commit is contained in:
Arun Prakash Jana 2018-10-18 23:07:18 +05:30
parent e2f65e4e70
commit 4a5ec91fce
No known key found for this signature in database
GPG key ID: A75979F35C080412
2 changed files with 8 additions and 8 deletions

View file

@ -189,15 +189,15 @@ positional args:
PATH start dir [default: current dir] PATH start dir [default: current dir]
optional args: optional args:
-b key specify bookmark key to open -b key bookmark key to open
-c N specify dir color, disables if N>7 -c N dir color, disables if N>7
-e use exiftool instead of mediainfo -e use exiftool instead of mediainfo
-i start in navigate-as-you-type mode -i start in navigate-as-you-type mode
-l start in light mode -l start in light mode
-p nlay path to custom nlay -p nlay path to custom nlay
-S start in disk usage analyser mode -S start in disk usage analyser mode
-v show program version and exit -v show program version
-h show this help and exit -h show this help
``` ```
`>` indicates the currently selected entry in `nnn`. `>` indicates the currently selected entry in `nnn`.

8
nnn.c
View file

@ -3355,15 +3355,15 @@ 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 specify bookmark key to open\n" " -b key bookmark key to open\n"
" -c N specify dir color, disables if N>7\n" " -c N dir color, disables if N>7\n"
" -e use exiftool instead of mediainfo\n" " -e use exiftool instead of mediainfo\n"
" -i start in navigate-as-you-type mode\n" " -i start in navigate-as-you-type mode\n"
" -l start in light mode\n" " -l start in light mode\n"
" -p nlay path to custom nlay\n" " -p nlay path to custom nlay\n"
" -S start in disk usage analyser mode\n" " -S start in disk usage analyser mode\n"
" -v show program version and exit\n" " -v show program version\n"
" -h show this help and exit\n\n" " -h show this help\n\n"
"Version: %s\n%s\n", VERSION, GENERAL_INFO); "Version: %s\n%s\n", VERSION, GENERAL_INFO);
exit(0); exit(0);
} }