From: Frédéric Marchal Date: Sun, 27 May 2012 05:48:08 +0000 (+0200) Subject: Add --help to the command line to display the help X-Git-Tag: v2.3.3-pre1~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c6551b37c6ee6f745711a901fc3f9da1594dc237;p=thirdparty%2Fsarg.git Add --help to the command line to display the help That syntax is more user friendly. Old -h is still accepted. --- diff --git a/log.c b/log.c index 5913241..d7c5925 100644 --- a/log.c +++ b/log.c @@ -162,6 +162,7 @@ int main(int argc,char *argv[]) { {"convert",no_argument,&convert,1}, {"css",no_argument,&output_css,1}, + {"help",no_argument,NULL,'h'}, {"lastlog",required_argument,NULL,2}, {"keeplogs",no_argument,NULL,3}, {"split",no_argument,&split,1},