From 3ef30d1c23445b17ff6ef2ff6aac475f0e2b58eb Mon Sep 17 00:00:00 2001 From: Renaud Fivet Date: Wed, 3 May 2017 12:11:09 +0800 Subject: [PATCH] Review help command line option message. --- main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index b26983e..e5c761a 100644 --- a/main.c +++ b/main.c @@ -116,12 +116,11 @@ static void version( 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 line \n" " --help display this help and exit\n" " --version output version information and exit\n" - " @cmdfile execute startup file\n" " -a|A process error file\n" " -e|E edit file\n" " -g|G go to line \n" @@ -130,6 +129,7 @@ static void usage( void) { " -v|V view file\n" " -x|Xcmdfile\n" " -x|X cmdfile execute command file\n" + " @cmdfile execute startup file\n" , stdout) ; }