Skip to content

Commit

Permalink
csto: fix help message formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jtbx committed Mar 11, 2024
1 parent 83f9f86 commit 1d59e1b
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions csto.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 1d59e1b

Please sign in to comment.