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

improve commands description

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