Changeset 428


Ignore:
Timestamp:
09/28/2009 23:20:44 (3 years ago)
Author:
blee
Message:

Sync confaudit usage statement with the man page.

See #65

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/confaudit.8

    r403 r428  
    3333.Sh SYNOPSIS 
    3434.Nm 
     35.Op Fl s 
    3536.Op Fl q 
    36 .Op Fl s 
     37.Op Fl d 
    3738.Nm 
    3839.Fl h 
     
    4748is intended to be invoked via 
    4849.Xr cron 8 .  
    49 When invoked with 
    50 .Fl q , 
    51 .Nm 
    52 will report only whether files differ and not the actual differences (See 
    53 .Xr diff 1) . 
    54 .Fl h  
    55 will cause 
    56 .Nm 
    57 to display the usage statement and exit. 
    5850.Pp 
    5951The 
     
    6759.Nm 
    6860across multiple managed hosts. 
     61.Pp 
     62When invoked with 
     63.Fl q , 
     64.Nm 
     65will report only whether files differ and not the actual differences (See 
     66.Xr diff 1) . 
     67.Pp 
     68The 
     69.Fl d 
     70option can be used to print additional debugging information. 
     71.Pp 
     72When launched with 
     73.Fl h , 
     74.Nm 
     75will display the usage statement and exit. 
    6976.Pp 
    7077.Nm 
  • trunk/confaudit.in

    r427 r428  
    3636 
    3737function print_help { 
    38     echo "usage: $0 [-d] [-q]" >&4 
     38    echo "usage: $0 [-s] [-q] [-d]" >&4 
     39    echo "Type '$0 -h' to display this help and exit." >&4 
    3940    exit ${1:-0} 
    4041} 
     
    4243quiet=false 
    4344sleep_mode=false 
    44 while getopts "dqsh" opt 2>&4 ; do 
     45while getopts "sqdh" opt 2>&4 ; do 
    4546    case $opt in  
     47        s) sleep_mode=true ;; 
     48        q) quiet=true ;; 
    4649        d) DEBUG=true ;; 
    47         q) quiet=true ;; 
    48         s) sleep_mode=true ;; 
    4950        h) print_help 0 ;; 
    5051        *) print_help 1 ;; 
Note: See TracChangeset for help on using the changeset viewer.