1
0
mirror of https://github.com/rfivet/uemacs.git synced 2024-06-05 03:40:42 +00:00

Review help command line option message.

This commit is contained in:
Renaud 2017-05-03 12:11:09 +08:00
parent 7f8ab2d2a5
commit 3ef30d1c23

4
main.c
View File

@ -116,12 +116,11 @@ static void version( void) {
static void usage( void) { static void usage( void) {
fputs( "Usage: " PROGRAM_NAME " [OPTION].. [FILE]..\n\n" fputs( "Usage: " PROGRAM_NAME " [OPTION|FILE]..\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" " --help display this help and exit\n"
" --version output version information and exit\n" " --version output version information and exit\n"
" @cmdfile execute startup file\n"
" -a|A process error file\n" " -a|A process error file\n"
" -e|E edit file\n" " -e|E edit file\n"
" -g|G<n> go to line <n>\n" " -g|G<n> go to line <n>\n"
@ -130,6 +129,7 @@ static void usage( void) {
" -v|V view file\n" " -v|V view file\n"
" -x|Xcmdfile\n" " -x|Xcmdfile\n"
" -x|X cmdfile execute command file\n" " -x|X cmdfile execute command file\n"
" @cmdfile execute startup file\n"
, stdout) ; , stdout) ;
} }