Project

General

Profile

« Previous | Next » 

Revision 45f8b472

Added by Dominic Cleal over 7 years ago

refs #17044 - update foreman-debug man page for -s option change

View differences:

man/foreman-debug.8.asciidoc
--------
foreman-debug [OPTIONS]
foreman-debug -d /output/dir -a -m 9000 -v
foreman-debug -d /output/dir -a -v
foreman-debug -h
......
-d DIR Directory to place the tarball in (default /tmp/foreman-XYZ)
-g Skip generic info (CPU, memory, firewall etc.)
-a Do not generate a tarball from the resulting directory
-m NUM Maximum lines to keep for each file (default 5000)
-s SIZE Maximum log set size in MB (current and rotated files, default 10 MB)
-j PRG Filter with provided program when creating a tarball
-p Additionally print all passwords which are being filtered
-q Quiet mode
......
- DIR: Directory to place the tarball in (string)
- NOGENERIC: Skip generic info (0 or 1)
- NOTAR: Do not create tarballs (0 or 1)
- MAXLINES: Maximum lines to keep for files (integer)
- MAXSIZE: Maximum log set size in bytes (integer)
- COMPRESS: Compress program to pipe the tarball through (string)
- PRINTPASS: Print passwords which are filtered out to stdout (0 or 1)
- QUIET: Quiet mode (0 or 1)
script/foreman-debug
-d DIR Directory to place the tarball in (default /tmp/foreman-XYZ)
-g Skip generic info (CPU, memory, firewall etc.)
-a Do not generate a tarball from the resulting directory
-m NUM Maximum lines to keep for each file, deprecated, use -s
-s SIZE Maximum log set size in MB (current+rotated files, defaults to 10 MB)
-j PRG Filter with provided program when creating a tarball
-p Additionally print password patterns being filtered out
-q Quiet mode
-s SIZE Maximum log set size in MB (current+rotated files, defaults to 10 MB)
-v Verbose mode
-u Upload tarball$UPLOAD_INFO
-h Shows this message
......
VERBOSE=1
;;
m)
error "Warning: -m option is deprecated, use -s option"
error "Warning: -m option has no effect, use -s option"
;;
j)
COMPRESS="$OPTARG"

Also available in: Unified diff