csto: fix help message formatting
This commit is contained in:
parent
83f9f8690c
commit
1d59e1b7e7
1 changed files with 10 additions and 10 deletions
20
csto.c
20
csto.c
|
@ -73,17 +73,17 @@ static void print_usage (const char *badoption) {
|
|||
else
|
||||
lua_writestringerror("unrecognized option '%s'\n", badoption);
|
||||
lua_writestringerror(
|
||||
"usage: %s [-e stat] [-l mod|g=mod] [-EivW] [script [args]]\n"
|
||||
"usage: %s [-EivW] [-e stat] [-l mod|g=mod] [script [args]]\n"
|
||||
"available options are:\n"
|
||||
" -e stat execute string 'stat'\n"
|
||||
" -i enter interactive mode after executing 'script'\n"
|
||||
" -l mod require library 'mod' into global 'mod'\n"
|
||||
" -l g=mod require library 'mod' into global 'g'\n"
|
||||
" -v show version information\n"
|
||||
" -E ignore environment variables\n"
|
||||
" -W turn warnings on\n"
|
||||
" -- stop handling options\n"
|
||||
" - stop handling options and execute stdin\n"
|
||||
" -e stat execute string 'stat'\n"
|
||||
" -i enter interactive mode after executing 'script'\n"
|
||||
" -l mod require library 'mod' into global 'mod'\n"
|
||||
" -l g=mod require library 'mod' into global 'g'\n"
|
||||
" -v show version information\n"
|
||||
" -E ignore environment variables\n"
|
||||
" -W turn warnings on\n"
|
||||
" -- stop handling options\n"
|
||||
" - stop handling options and execute stdin\n"
|
||||
,
|
||||
progname);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue