Unverified Commit f6a248c0 by Christian Brauner Committed by GitHub

Merge pull request #2174 from brauner/2018-02-17/lxc-update-config_check_empty_args

cmd/lxc-update-config: check for empty arguments
parents 18b1b540 a514f2d9
......@@ -14,6 +14,12 @@ EOF
return 0
}
# Check whether any arguments are provided.
if [ $# -eq 0 ]; then
usage "${0}"
exit 0
fi
OPTIONS=$(getopt -o c:h --long config:,help -- "${@}")
eval set -- "${OPTIONS}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment