cmd/lxc-update-config: check for empty arguments

parent 18b1b540
......@@ -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