From cb86cc33e546ddcc5544ce5cc24f29371d5a1ca9 Mon Sep 17 00:00:00 2001 From: Guillaume Rousse Date: Sun, 9 Jan 2005 18:33:54 +0000 Subject: cleanup usage --- rpmbuildupdate | 39 +++++++++++++++++++++------------------ 1 file changed, 21 insertions(+), 18 deletions(-) (limited to 'rpmbuildupdate') diff --git a/rpmbuildupdate b/rpmbuildupdate index 2f45c5c..d160d48 100755 --- a/rpmbuildupdate +++ b/rpmbuildupdate @@ -511,24 +511,27 @@ sub parse_argv { } sub usage { - print "rpmbuildupdate v0.4 helps you build up to date RPMs.\n\n"; - print "By Julien Danjou\n"; - print "Copyright (c) 2003-2004 by MandrakeSoft.\n"; - print "This is free software under the GPL License.\n"; - print "Usage: rpmbuildupdate [options] [pkg] [newversion]\n\n"; - - print " --rpmmon : parse output of rpmmon from file\n"; - print " --srpms : specify SRPMS path, separate folder with a comma\n"; - print " --rpmoption : use this option when rebuilding ( --with , mainly )\n"; - print " --release : release version of package (default: 1mdk)\n"; - print " --changelog : use a alternate message. \%\%VERSION is replace by version\n"; - print " --deps: install builds dependencies\n"; - print " --log: log builds\n"; - print " --nosource: do not install source from (urpmi x.src.rpm)\n"; - print " --noupdate: do not touch to the spec file\n"; - print " --top : specify rpm top dir (default: `rpm --eval \%_topdir`)\n"; - print " --nobuild|-c: do not build the package. Only download files.\n"; - print " --execute : execute an arbitrary perl command for each line of the spec file\n"; + print <: parse output of rpmmon from file + --srpms : specify SRPMS path, separate folder with a comma + --rpmoption : use this option when rebuilding ( --with , mainly ) + --release : release version of package (default: 1mdk) + --changelog : use a alternate message. \%\%VERSION is replace by version + --deps: install builds dependencies + --log: log builds + --nosource: do not install source from (urpmi x.src.rpm) + --noupdate: do not touch to the spec file + --top : specify rpm top dir (default: `rpm --eval \%_topdir`) + --nobuild|-c: do not build the package. Only download files. + --execute : execute an arbitrary perl command for each line of the spec file +EOF exit 0; } -- cgit v1.2.1