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