Manager: Parse help argument
This commit is contained in:
@@ -350,6 +350,10 @@ eval set -- "$parsed"
|
|||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
case "$1" in
|
case "$1" in
|
||||||
|
-h | --help)
|
||||||
|
help
|
||||||
|
exit
|
||||||
|
;;
|
||||||
-F | --file)
|
-F | --file)
|
||||||
if [ -n "$mode" ]; then
|
if [ -n "$mode" ]; then
|
||||||
echo "${b}${red}Error:${n} only one operation may be used at a time." >&2
|
echo "${b}${red}Error:${n} only one operation may be used at a time." >&2
|
||||||
|
|||||||
Reference in New Issue
Block a user