diff options
-rwxr-xr-x | iurt2 | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -37,15 +37,20 @@ use MIME::Words qw(encode_mimewords); use Fcntl ':flock'; use Mkcd::Commandline qw(parseCommandLine usage); -my $program_name = 'iurt'; +my $program_name = 'iurt2'; # sessing parameters my $arg = @ARGV; my (@params, %run); $run{todo} = [ ]; @params = ( # [ "one letter option", "long name option", "number of args (-X means ´at least X´)", "help text", "function to call", "log info"] - [ "", "$program_name", 0, "[options]", - "$program_name rebuild bot", + [ "", "$program_name", 0, "[--cache] [--concurrent-run] [--config foo value] [--warn] [--verbose integer] + [--copy_srpm] [--debug] [--distro] [--no_rsync] [--stop {p|c|i|l|b|a|s}] + [--use-syste)-distrib] [--dir] [--help foo?] [--log filename] [--unionfs] + {--config_help | + --chroot --arch {i586|x86_64|ppc} --distro {cooker|2006.0|community/2006.0|...} } | + --rebuild {cooker|2006.0|community/2006.0|...} {i586|x86_64|ppc|...} {filename1.src.rpm} {filename2.src.rpm} ... {filenamen.src.rpm} }", + "$program_name is a perl script to rebuild automatically several rpm in chroot, given a sourcerpm repository, and mail authors or rebuilder when problems occurs.", sub { $arg or usage($program_name, \@params) }, "" ], [ "", "distro", 1, "<distro>", "Set the distribution", |