Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
whohas
help-param-513476.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File help-param-513476.patch of Package whohas
--- program/whohas.orig 2011-11-27 23:06:44.000000000 +0200 +++ program/whohas 2011-12-04 20:07:30.796085749 +0200 @@ -71,12 +71,19 @@ my @distroSelections; my $nothreads; my $shallow; +my $option_help; GetOptions( "d=s" => \@distroSelections, "no-threads" => \$nothreads, - "shallow" => \$shallow + "shallow" => \$shallow, + "help|usage|h" => \$option_help ); +if ($option_help) { + print "Usage: $0 [--no-threads] [--shallow] [-d Dist1[,Dist2[,Dist3...]]] pkgname\n"; + exit 0; +} + if (@ARGV > 1) { die "Error:\tToo many parameters. Usage: $0 [--no-threads] [--shallow] [-d Dist1[,Dist2[,Dist3...]]] pkgname\n"; } elsif (@ARGV < 1) {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor