Commit de1a4b7a authored by Vitaly Lipatov's avatar Vitaly Lipatov

add epm --short --version

parent 5d916c1c
...@@ -393,6 +393,7 @@ check_option() ...@@ -393,6 +393,7 @@ check_option()
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
[ -n "$short" ] && echo "@VERSION@" | sed -e 's|-.*||' && exit 0
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