Commit 749bb7bf authored by Vitaly Lipatov's avatar Vitaly Lipatov

improve commands description

parent 9523f86e
......@@ -25,7 +25,7 @@ fi
Usage="Usage: rpmbb [-c -p -i -r -R] [spec]"
function mygetopts()
{
Descr="rpmbb - build binary rpm from spec or from git"
Descr="rpmbb (Build Binary) - build binary rpm from spec or from git"
phelp()
{
......
......@@ -11,7 +11,7 @@
load_mod spec git
if [ "$1" = "-h" ] || [ "$1" = "---help" ] ; then
echog "rpmbk - build package from current repo in Korinf"
echog "rpmbk (Build Korinf) - build package from current repo in Korinf"
echog "Usage: rpmbk [Distro/Version] [spec]"
exit 0
fi
......@@ -20,6 +20,7 @@ DISTROVER="$1"
shift
SPEC="$1"
# TODO: Allow build to common place (use rpmpub?)
#BUILDDIR=$TMPDIR/korinf
BUILDDIR=$RPMDIR/KORINF
export ETERDESTSRPM=$BUILDDIR/sources
......
......@@ -329,7 +329,7 @@ Usage="Usage: $name [-r -u -U -n -i -m -v -q] [-$CURRENTBRANCHNAME] [-b REPONAME
function mygetopts()
{
name=${0##*/}
Descr="$name - backports spec and rebuild it"
Descr="$name (BackPort and Hasher) - backports spec and rebuild it"
phelp()
{
......
......@@ -36,7 +36,7 @@ Usage="Usage: $name [GIRAR] [-s|-t|-u|-a|-c] [-o -z -n -p --nodeps] [-k [TARGETD
function mygetopts()
{
name=${0##*/}
Descr="$name - run git repo build or make src.rpm from spec"
Descr="$name (Build Source) - run git repo build or make src.rpm from spec"
phelp()
{
......
......@@ -20,7 +20,7 @@ Usage="Usage: $name [-r -s -u -m -i -c] [-f] [spec or src.rpm]..."
function mygetopts()
{
name=${0##*/}
Descr="$name - BSH - build [from] source; use hasher"
Descr="$name (Build Source in the Hasher) - build [from] source; use hasher"
phelp()
{
......
......@@ -129,7 +129,7 @@ Usage="Usage: rpmcs [--skip-reqs] [specfile]
spec file can be autodetected from git repo"
mygetopts()
{
Descr="rpmcs - cleanup spec (like cleanup_spec command)"
Descr="rpmcs (Cleanup Spec) - cleanup spec (like cleanup_spec command)"
phelp()
{
......
......@@ -145,10 +145,10 @@ update_cache_list()
done
}
Usage="Usage: rpmgp [options] [-$CURRENTBRANCHNAME] [system] pkgname"
Usage="Usage: rpmgp [GIRAR/remote alias] [options] [-$CURRENTBRANCHNAME] [system] pkgname"
mygetopts()
{
Descr="rpmgp - various package download operations"
Descr="rpmgp (Get Package) - various package download operations"
phelp()
{
......
......@@ -24,7 +24,7 @@ Usage="Usage: $name [GIRAR] [-a -r ] spec [new_version]"
function mygetopts()
{
name=${0##*/}
Descr="$name - get sources by spec / repository"
Descr="$name (Get Source) - get sources by spec / repository"
phelp()
{
......
......@@ -12,7 +12,7 @@
load_mod spec git
if [ "$1" = "-h" ]; then
echog "rpmrb - update spec to vermajor.verminor version, build %rel release"
echog "rpmrb (Re Build) - update spec to vermajor.verminor version, build %rel release"
echog "Usage: rpmrb [spec] [vermajor][.verminor] [rel]"
echog "Example:"
echog " $ rpmrb [name.spec] 22.6 alt2"
......
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