remove -b flag, since -M covers it

This commit is contained in:
Ben Allen
2017-06-26 16:35:56 -05:00
parent 8cba6df362
commit 85e620345c
2 changed files with 3 additions and 6 deletions

View File

@@ -97,7 +97,6 @@ USAGE:
-c <checknum> specify a check number or group from the AWS CIS benchmark (i.e.: check11 for check 1.1 or check3 for entire section 3)
-f <filterregion> specify an AWS region to run checks against (i.e.: us-west-1)
-m <maxitems> specify the maximum number of items to return for long-running requests (default: 100)
-b do not use colors in the output
-M <mode> output mode: text (defalut), mono, csv (separator is "|"; data is on stdout; progress on stderr)
-h this help

View File

@@ -48,22 +48,18 @@ USAGE:
-c <checknum> specify a check number or group from the AWS CIS benchmark (i.e.: check11 for check 1.1 or check3 for entire section 3)
-f <filterregion> specify an AWS region to run checks against (i.e.: us-west-1)
-m <maxitems> specify the maximum number of items to return for long-running requests (default: 100)
-b do not use colors in the output
-M <mode> output mode: text (defalut), mono, csv (separator is \"|\"; data is on stdout; progress on stderr)
-h this help
"
exit
}
while getopts ":hbp:r:c:f:m:M:" OPTION; do
while getopts ":hp:r:c:f:m:M:" OPTION; do
case $OPTION in
h )
usage
exit 1
;;
b )
MONOCHROME=1
;;
p )
PROFILE=$OPTARG
;;
@@ -304,6 +300,8 @@ textTitle(){
}
printCsvHeader() {
>&2 echo ""
>&2 echo ""
>&2 echo "Generateing pipe delimited report on stdout; Diagnostics on stderr."
>&2 echo " Using Profile $PROFILE"
>&2 echo ""