mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +00:00
Prettify usage()
This commit is contained in:
parent
af3d0a69bc
commit
216fa8f4f8
32
nnn.c
32
nnn.c
|
@ -3317,22 +3317,22 @@ nochange:
|
|||
static void
|
||||
usage(void)
|
||||
{
|
||||
printf("usage: nnn [-b key] [-c N] [-e] [-i] [-l]\n\
|
||||
[-p nlay] [-S] [-v] [-h] [PATH]\n\n\
|
||||
The missing terminal file browser for X.\n\n\
|
||||
positional arguments:\n\
|
||||
PATH start dir [default: current dir]\n\n\
|
||||
optional arguments:\n\
|
||||
-b key specify bookmark key to open\n\
|
||||
-c N specify dir color, disables if N>7\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\
|
||||
-p nlay path to custom nlay\n\
|
||||
-S start in disk usage analyzer mode\n\
|
||||
-v show program version and exit\n\
|
||||
-h show this help and exit\n\n\
|
||||
Version: %s\n%s\n", VERSION, GENERAL_INFO);
|
||||
printf("usage: nnn [-b key] [-c N] [-e] [-i] [-l]\n"
|
||||
" [-p nlay] [-S] [-v] [-h] [PATH]\n\n"
|
||||
"The missing terminal file browser for X.\n\n"
|
||||
"positional arguments:\n"
|
||||
" PATH start dir [default: current dir]\n\n"
|
||||
"optional arguments:\n"
|
||||
" -b key specify bookmark key to open\n"
|
||||
" -c N specify dir color, disables if N>7\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"
|
||||
" -p nlay path to custom nlay\n"
|
||||
" -S start in disk usage analyzer mode\n"
|
||||
" -v show program version and exit\n"
|
||||
" -h show this help and exit\n\n"
|
||||
"Version: %s\n%s\n", VERSION, GENERAL_INFO);
|
||||
exit(0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue