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

epm: allow -v only for empty command

parent cd3804cc
......@@ -387,6 +387,7 @@ check_option()
{
case $1 in
-v|--version) # HELPOPT: print version
[ -n "$epm_cmd" ] && return 1
print_version
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