Commit 007e2089 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm: fix print help command

parent 3b6893d3
...@@ -273,7 +273,11 @@ check_command() ...@@ -273,7 +273,11 @@ check_command()
-V|checkpkg|integrity) # HELPCMD: check package file integrity (checksum) -V|checkpkg|integrity) # HELPCMD: check package file integrity (checksum)
epm_cmd=checkpkg epm_cmd=checkpkg
;; ;;
-h|--help|help) # HELPOPT: print this help
help=1
phelp
exit 0
;;
*) *)
return 1 return 1
;; ;;
...@@ -284,10 +288,6 @@ check_command() ...@@ -284,10 +288,6 @@ check_command()
check_option() check_option()
{ {
case $1 in case $1 in
-h|--help|help) # HELPOPT: this help
phelp
exit 0
;;
-v|--version) # HELPOPT: print version -v|--version) # HELPOPT: print version
print_version print_version
exit 0 exit 0
......
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