From ed6b0fa34884b28399d952cf8edc265cb2f87ce9 Mon Sep 17 00:00:00 2001 From: Paul Morgan Date: Fri, 4 Sep 2015 19:22:45 -0400 Subject: [PATCH] remove unused CLI options * -f is not used in `getopts` * -i is not used in `getopts` * -l needs trailing `:` to mandate `path/to/log/file` * leading `:` is unnecessary in standard shell Signed-off-by: Paul Morgan --- docker-bench-security.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-bench-security.sh b/docker-bench-security.sh index 7a2b512..6442e0e 100755 --- a/docker-bench-security.sh +++ b/docker-bench-security.sh @@ -62,7 +62,7 @@ if [ "x$ID" != "x0" ]; then fi # Get the flags -while getopts :hlfi: args +while getopts hl: args do case $args in h) usage ;;