Commit 0cd50823 authored by Vitaly Lipatov's avatar Vitaly Lipatov

add info about gear host (first arg) to help

parent 4623072e
......@@ -17,7 +17,7 @@ mygetopts()
echog "Usage: gacl [GIRAR] [-b REPONAME] [package] command [params]"
echo
echog "Options:"
echog " GIRAR git.alt or git.eter"
echog "$HELP_GIRAR"
echog " -b REPONAME binary repository name (4.1, p5, t6 and so on) (sisyphus by default)"
echo
echog "Commands:"
......
......@@ -32,6 +32,7 @@ phelp()
echog " -n do not build in hasher"
echog " -i install built packages in test hasher" # will pass to rpmbs/rpmbsh
echog " -b REPONAME binary repository name (4.1, p5, t6 and so on)"
echo "$HELP_GIRAR"
echo
echog "Ext. options:"
echog " -v more verbose"
......
......@@ -16,7 +16,7 @@ REMCOM=
COMMIT=
#############################
Usage="Usage: $name [-r -s -u -m -i -c -e] [-f] [spec or src.rpm]..."
Usage="Usage: $name [GIRAR] [-r -s -u -m -i -c -e] [-f] [spec or src.rpm]..."
function mygetopts()
{
name=${0##*/}
......@@ -31,6 +31,7 @@ phelp()
echog " -u sign and run gear build task after build"
echog " -i install built packages in test hasher (via loginhsh -t)"
echog " -f force tag set (see rpmbs --help)"
echo "$HELP_GIRAR"
echo
echog "Ext. options:"
echog " -c build without stuff (without previous built packages)"
......
......@@ -13,7 +13,8 @@ load_mod spec git
if [ "$1" = "-h" ] || [ "$1" = "--help" ]; then
echog "rpmrb (Re Build) - update spec to vermajor.verminor version, build %rel release"
echog "Usage: rpmrb [spec] [vermajor][.verminor] [rel]"
echog "Usage: rpmrb [GIRAR] [spec] [vermajor][.verminor] [rel]"
echo "$HELP_GIRAR"
echog "Example:"
echog " $ rpmrb [name.spec] 22.6 alt2"
echog " $ rpmrb 1.2.3"
......
......@@ -550,3 +550,5 @@ version_more_version()
{
[ "$2" = "$(echo -e "$1\n$2" | sort -n | head -n1)" ]
}
HELP_GIRAR=" GIRAR - git.alt (ga, galt) or git.eter (ge, geter)"
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