aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Rousse <guillomovitch@mandriva.org>2005-01-09 18:33:54 +0000
committerGuillaume Rousse <guillomovitch@mandriva.org>2005-01-09 18:33:54 +0000
commitcb86cc33e546ddcc5544ce5cc24f29371d5a1ca9 (patch)
treed5fe53252da1b01ce8e26271ec14128dde57c673
parent25f7f290f43b7e153cc5b7807aaa7e48b9bc8260 (diff)
downloadbootsplash-cb86cc33e546ddcc5544ce5cc24f29371d5a1ca9.tar
bootsplash-cb86cc33e546ddcc5544ce5cc24f29371d5a1ca9.tar.gz
bootsplash-cb86cc33e546ddcc5544ce5cc24f29371d5a1ca9.tar.bz2
bootsplash-cb86cc33e546ddcc5544ce5cc24f29371d5a1ca9.tar.xz
bootsplash-cb86cc33e546ddcc5544ce5cc24f29371d5a1ca9.zip
cleanup usage
-rwxr-xr-xrpmbuildupdate39
1 files changed, 21 insertions, 18 deletions
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 <file>: parse output of rpmmon from file\n";
- print " --srpms <path_to_srpms>: specify SRPMS path, separate folder with a comma\n";
- print " --rpmoption <rpm option>: use this option when rebuilding ( --with , mainly )\n";
- print " --release <mdk_release>: release version of package (default: 1mdk)\n";
- print " --changelog <changelog message>: 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 <dir>: specify rpm top dir (default: `rpm --eval \%_topdir`)\n";
- print " --nobuild|-c: do not build the package. Only download files.\n";
- print " --execute <command>: execute an arbitrary perl command for each line of the spec file\n";
+ print <<EOF;
+rpmbuildupdate v0.4 helps you build up to date RPMs.
+
+By Julien Danjou
+Copyright (c) 2003-2004 by MandrakeSoft.
+This is free software under the GPL License.
+Usage: rpmbuildupdate [options] [pkg] [newversion]
+
+ --rpmmon <file>: parse output of rpmmon from file
+ --srpms <path_to_srpms>: specify SRPMS path, separate folder with a comma
+ --rpmoption <rpm option>: use this option when rebuilding ( --with , mainly )
+ --release <mdk_release>: release version of package (default: 1mdk)
+ --changelog <changelog message>: 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 <dir>: specify rpm top dir (default: `rpm --eval \%_topdir`)
+ --nobuild|-c: do not build the package. Only download files.
+ --execute <command>: execute an arbitrary perl command for each line of the spec file
+EOF
exit 0;
}