aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}