mirror of
https://github.com/docker/docker-bench-security.git
synced 2025-01-19 08:42:33 +01:00
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 <jumanjiman@gmail.com>
This commit is contained in:
parent
a1d9a18400
commit
ed6b0fa348
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ if [ "x$ID" != "x0" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Get the flags
|
# Get the flags
|
||||||
while getopts :hlfi: args
|
while getopts hl: args
|
||||||
do
|
do
|
||||||
case $args in
|
case $args in
|
||||||
h) usage ;;
|
h) usage ;;
|
||||||
|
|
Loading…
Reference in a new issue