Commit f191ac24 authored by pjwilliams's avatar pjwilliams
Browse files

Renamed smartd option 'debugmode' to 'debug'


git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@366 4ea69e1a-61f1-4043-bf83-b5c94c648137
parent a0a351aa
\# Copyright (C) 2002 Bruce Allen <smartmontools-support@lists.sourceforge.net>
\#
\# $Id: smartd.8,v 1.40 2002/12/07 15:43:22 pjwilliams Exp $
\# $Id: smartd.8,v 1.41 2002/12/08 12:56:52 pjwilliams Exp $
\#
\# This program is free software; you can redistribute it and/or modify it
\# under the terms of the GNU General Public License as published by the Free
......@@ -16,11 +16,11 @@
\# Research Center), Jack Baskin School of Engineering, University of
\# California, Santa Cruz. http://ssrc.soe.ucsc.edu/
\#
.TH SMARTD 8 "$Date: 2002/12/07 15:43:22 $" "smartmontools-5.0"
.TH SMARTD 8 "$Date: 2002/12/08 12:56:52 $" "smartmontools-5.0"
.SH NAME
smartd \- S.M.A.R.T. Daemon
.SH SYNOPSIS
.B smartd [-XVh] [--debugmode] [--version] [--help]
.B smartd [-XVh] [--debug] [--version] [--help]
.SH DESCRIPTION
.B smartd
......@@ -97,7 +97,7 @@ Long options are not supported on all systems. Use
.B 'smartd \-h'
to see the available options.
.TP
.B \-X, \-\-debugmode
.B \-X, \-\-debug
eXamine: Runs
.B smartd
in "debug" mode. In this mode, it does not
......@@ -656,4 +656,4 @@ Please let us know if there is an on\-line source for this document.
.SH
CVS ID OF THIS PAGE:
$Id: smartd.8,v 1.40 2002/12/07 15:43:22 pjwilliams Exp $
$Id: smartd.8,v 1.41 2002/12/08 12:56:52 pjwilliams Exp $
......@@ -50,7 +50,7 @@
// CVS ID strings
extern const char *CVSid1, *CVSid2;
const char *CVSid6="$Id: smartd.c,v 1.84 2002/12/05 23:10:10 pjwilliams Exp $"
const char *CVSid6="$Id: smartd.c,v 1.85 2002/12/08 12:56:52 pjwilliams Exp $"
CVSID1 CVSID2 CVSID3 CVSID4 CVSID7;
// global variable used for control of printing, passing arguments, etc.
......@@ -336,9 +336,9 @@ return;
/* prints help information for command syntax */
void Usage (void){
#ifdef HAVE_GETOPT_LONG
printout(LOG_INFO,"Usage: smartd [-XVh] [--debugmode] [--version] [--help]\n\n");
printout(LOG_INFO,"Usage: smartd [-XVh] [--debug] [--version] [--help]\n\n");
printout(LOG_INFO,"Command Line Options:\n");
printout(LOG_INFO," -X, --debugmode\n Start smartd in debug mode\n\n");
printout(LOG_INFO," -X, --debug\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\n");
printout(LOG_INFO," -h, -?, --help, --usage\n Display this help and exit\n\n");
......@@ -1330,7 +1330,7 @@ void ParseOpts(int argc, char **argv){
int optchar;
#ifdef HAVE_GETOPT_LONG
struct option long_options[] = {
{ "debugmode", no_argument, 0, 'X'},
{ "debug", no_argument, 0, 'X'},
{ "version", no_argument, 0, 'V'},
{ "license", no_argument, 0, 'V'},
{ "copyright", no_argument, 0, 'V'},
......
......@@ -50,7 +50,7 @@
// CVS ID strings
extern const char *CVSid1, *CVSid2;
const char *CVSid6="$Id: smartd.cpp,v 1.84 2002/12/05 23:10:10 pjwilliams Exp $"
const char *CVSid6="$Id: smartd.cpp,v 1.85 2002/12/08 12:56:52 pjwilliams Exp $"
CVSID1 CVSID2 CVSID3 CVSID4 CVSID7;
// global variable used for control of printing, passing arguments, etc.
......@@ -336,9 +336,9 @@ return;
/* prints help information for command syntax */
void Usage (void){
#ifdef HAVE_GETOPT_LONG
printout(LOG_INFO,"Usage: smartd [-XVh] [--debugmode] [--version] [--help]\n\n");
printout(LOG_INFO,"Usage: smartd [-XVh] [--debug] [--version] [--help]\n\n");
printout(LOG_INFO,"Command Line Options:\n");
printout(LOG_INFO," -X, --debugmode\n Start smartd in debug mode\n\n");
printout(LOG_INFO," -X, --debug\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\n");
printout(LOG_INFO," -h, -?, --help, --usage\n Display this help and exit\n\n");
......@@ -1330,7 +1330,7 @@ void ParseOpts(int argc, char **argv){
int optchar;
#ifdef HAVE_GETOPT_LONG
struct option long_options[] = {
{ "debugmode", no_argument, 0, 'X'},
{ "debug", no_argument, 0, 'X'},
{ "version", no_argument, 0, 'V'},
{ "license", no_argument, 0, 'V'},
{ "copyright", no_argument, 0, 'V'},
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment