Commit 31fbcdb8 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm info: show help when called without arguments

parent de910511
......@@ -240,7 +240,10 @@ epm_info()
__handle_pkg_urls_to_checking
fi
[ -n "$pkg_filenames" ] || fatal "Info: package name is missed"
if [ -z "$pkg_filenames" ] ; then
epm_info_help >&2
exit 1
fi
__epm_info_by_pkgtype || __epm_info_by_pmtype
......
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