mirror of
https://github.com/rfivet/uemacs.git
synced 2024-12-18 07:16:23 -05:00
update usage with all supported options.
This commit is contained in:
parent
102618586f
commit
006f89258e
21
main.c
21
main.c
@ -105,13 +105,20 @@ static void version( void) {
|
|||||||
|
|
||||||
|
|
||||||
static void usage( void) {
|
static void usage( void) {
|
||||||
fputs( "Usage: " PROGRAM_NAME " filename\n"
|
fputs( "Usage: " PROGRAM_NAME " [OPTION].. [FILE]..\n\n"
|
||||||
" or: " PROGRAM_NAME " [options]\n\n"
|
" + start at the end of file\n"
|
||||||
" + start at the end of file\n"
|
" +<n> start at line <n>\n"
|
||||||
" +<n> start at line <n>\n"
|
" --help display this help and exit\n"
|
||||||
" -g[G]<n> go to line <n>\n"
|
" --version output version information and exit\n"
|
||||||
" --help display this help and exit\n"
|
" -a|A process error file\n"
|
||||||
" --version output version information and exit\n", stdout) ;
|
" -e|E edit file\n"
|
||||||
|
" -g|G<n> go to line <n>\n"
|
||||||
|
" -k|K<key> use code key\n"
|
||||||
|
" -n|N accept null chars\n"
|
||||||
|
" -r|R restrictive use\n"
|
||||||
|
" -s|S<string> search string\n"
|
||||||
|
" -v|V view file\n"
|
||||||
|
, stdout) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user