From a5d09bf04e92ae7072b379d9762dfdfec66317ba Mon Sep 17 00:00:00 2001 From: ballen4705 <ballen4705@4ea69e1a-61f1-4043-bf83-b5c94c648137> Date: Mon, 25 Nov 2002 04:48:01 +0000 Subject: [PATCH] Trivial style change git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@326 4ea69e1a-61f1-4043-bf83-b5c94c648137 --- sm5/smartd.c | 11 +++++------ sm5/smartd.cpp | 11 +++++------ 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/sm5/smartd.c b/sm5/smartd.c index 6a4e5f06d..3bf4d7cae 100644 --- a/sm5/smartd.c +++ b/sm5/smartd.c @@ -47,7 +47,7 @@ // CVS ID strings extern const char *CVSid1, *CVSid2; -const char *CVSid6="$Id: smartd.c,v 1.74 2002/11/23 17:09:59 pjwilliams Exp $" +const char *CVSid6="$Id: smartd.c,v 1.75 2002/11/25 04:48:01 ballen4705 Exp $" CVSID1 CVSID2 CVSID3 CVSID4 CVSID7; // global variable used for control of printing, passing arguments, etc. @@ -328,13 +328,12 @@ return; /* prints help information for command syntax */ void Usage (void){ - printout(LOG_INFO,"Usage: smartd [OPTION]...\n\n"); + printout(LOG_INFO,"Usage: smartd [-XVh] [--debugmode] [--version] [--help]\n\n"); printout(LOG_INFO,"Command Line Options:\n"); - printout(LOG_INFO," -X, --debugmode Start smartd in debug mode\n"); + printout(LOG_INFO," -X, --debugmode\n Start smartd in debug mode\n\n"); printout(LOG_INFO," -V, --version, --license, --copyright\n"); - printout(LOG_INFO," Print License, Copyright, and version information\n"); - printout(LOG_INFO," -h, --help, --usage Display this help and exit\n"); - printout(LOG_INFO," -? Same as -h\n"); + printout(LOG_INFO," Print License, Copyright, and version information\n\n"); + printout(LOG_INFO," -h, -?, --help, --usage\n Display this help and exit\n\n"); printout(LOG_INFO,"\n"); printout(LOG_INFO,"Optional configuration file: %s\n",CONFIGFILE); Directives(); diff --git a/sm5/smartd.cpp b/sm5/smartd.cpp index b3b0ce067..e40bd5409 100644 --- a/sm5/smartd.cpp +++ b/sm5/smartd.cpp @@ -47,7 +47,7 @@ // CVS ID strings extern const char *CVSid1, *CVSid2; -const char *CVSid6="$Id: smartd.cpp,v 1.74 2002/11/23 17:09:59 pjwilliams Exp $" +const char *CVSid6="$Id: smartd.cpp,v 1.75 2002/11/25 04:48:01 ballen4705 Exp $" CVSID1 CVSID2 CVSID3 CVSID4 CVSID7; // global variable used for control of printing, passing arguments, etc. @@ -328,13 +328,12 @@ return; /* prints help information for command syntax */ void Usage (void){ - printout(LOG_INFO,"Usage: smartd [OPTION]...\n\n"); + printout(LOG_INFO,"Usage: smartd [-XVh] [--debugmode] [--version] [--help]\n\n"); printout(LOG_INFO,"Command Line Options:\n"); - printout(LOG_INFO," -X, --debugmode Start smartd in debug mode\n"); + printout(LOG_INFO," -X, --debugmode\n Start smartd in debug mode\n\n"); printout(LOG_INFO," -V, --version, --license, --copyright\n"); - printout(LOG_INFO," Print License, Copyright, and version information\n"); - printout(LOG_INFO," -h, --help, --usage Display this help and exit\n"); - printout(LOG_INFO," -? Same as -h\n"); + printout(LOG_INFO," Print License, Copyright, and version information\n\n"); + printout(LOG_INFO," -h, -?, --help, --usage\n Display this help and exit\n\n"); printout(LOG_INFO,"\n"); printout(LOG_INFO,"Optional configuration file: %s\n",CONFIGFILE); Directives(); -- GitLab