Commit 6b510228 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm: options optimization

parent c412eb17
...@@ -454,6 +454,16 @@ check_command() ...@@ -454,6 +454,16 @@ check_command()
check_option() check_option()
{ {
# optimization
case $1 in
-*)
# pass
;;
*)
return 1
;;
esac
case $1 in case $1 in
-v|--version) # HELPOPT: print version -v|--version) # HELPOPT: print version
[ -n "$epm_cmd" ] && return 1 [ -n "$epm_cmd" ] && return 1
......
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