Commit 4a2fd422 authored by Vitaly Lipatov's avatar Vitaly Lipatov

rpmU: add --help support

parent ad9093f6
...@@ -7,8 +7,9 @@ ...@@ -7,8 +7,9 @@
. `dirname $0`/../share/eterbuild/functions/common . `dirname $0`/../share/eterbuild/functions/common
load_mod gettext load_mod gettext
if [ "$1" = "-h" ]; then if [ "$1" = "-h" ] || [ "$1" = "--help" ]; then
echog "rpmU - the same as [sudo] rpm -Uvh - update package" echog "rpmU - the same as [sudo] rpm -Uvh - update package"
echog "Usage: rpmU [package(s)]"
exit 0 exit 0
fi fi
......
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