Changeset 428
- Timestamp:
- 09/28/2009 23:20:44 (3 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
confaudit.8 (modified) (3 diffs)
-
confaudit.in (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/confaudit.8
r403 r428 33 33 .Sh SYNOPSIS 34 34 .Nm 35 .Op Fl s 35 36 .Op Fl q 36 .Op Fl s37 .Op Fl d 37 38 .Nm 38 39 .Fl h … … 47 48 is intended to be invoked via 48 49 .Xr cron 8 . 49 When invoked with50 .Fl q ,51 .Nm52 will report only whether files differ and not the actual differences (See53 .Xr diff 1) .54 .Fl h55 will cause56 .Nm57 to display the usage statement and exit.58 50 .Pp 59 51 The … … 67 59 .Nm 68 60 across multiple managed hosts. 61 .Pp 62 When invoked with 63 .Fl q , 64 .Nm 65 will report only whether files differ and not the actual differences (See 66 .Xr diff 1) . 67 .Pp 68 The 69 .Fl d 70 option can be used to print additional debugging information. 71 .Pp 72 When launched with 73 .Fl h , 74 .Nm 75 will display the usage statement and exit. 69 76 .Pp 70 77 .Nm -
trunk/confaudit.in
r427 r428 36 36 37 37 function 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 39 40 exit ${1:-0} 40 41 } … … 42 43 quiet=false 43 44 sleep_mode=false 44 while getopts " dqsh" opt 2>&4 ; do45 while getopts "sqdh" opt 2>&4 ; do 45 46 case $opt in 47 s) sleep_mode=true ;; 48 q) quiet=true ;; 46 49 d) DEBUG=true ;; 47 q) quiet=true ;;48 s) sleep_mode=true ;;49 50 h) print_help 0 ;; 50 51 *) print_help 1 ;;
Note: See TracChangeset
for help on using the changeset viewer.
