summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-10-19 10:49:31 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-10-19 10:49:31 +0000
commitea6ffda49af11182670a5ab620157c3ef212143b (patch)
treec12b6ed8301746beaa714426ec33f4a660747bcb
parenta2bca43a4fa62b06b4dbaee88c495a5d6ff5245c (diff)
downloadurpmi-ea6ffda49af11182670a5ab620157c3ef212143b.tar
urpmi-ea6ffda49af11182670a5ab620157c3ef212143b.tar.gz
urpmi-ea6ffda49af11182670a5ab620157c3ef212143b.tar.bz2
urpmi-ea6ffda49af11182670a5ab620157c3ef212143b.tar.xz
urpmi-ea6ffda49af11182670a5ab620157c3ef212143b.zip
Remove urpmf --all option
-rw-r--r--man/C/urpmf.82
-rw-r--r--urpm/args.pm17
-rwxr-xr-xurpmf4
3 files changed, 2 insertions, 21 deletions
diff --git a/man/C/urpmf.8 b/man/C/urpmf.8
index cad43a46..7e704368 100644
--- a/man/C/urpmf.8
+++ b/man/C/urpmf.8
@@ -18,8 +18,6 @@ system's rpm database).
.SH OPTIONS
.IP "\fB\--help\fP"
Prints a help message and exit.
-.IP "\fB\--all\fP"
-Prints and searches through all parameters listed below.
.IP "\fB\--arch\fP"
Prints and searches through the architecture tag.
.IP "\fB\--buildhost\fP"
diff --git a/urpm/args.pm b/urpm/args.pm
index 8c7cd4ea..3d0292bb 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -146,23 +146,6 @@ my %options_spec = (
#- see also below, autogenerated callbacks
urpmf => {
- all => add_param_closure(qw(
- buildhost
- conflicts
- description
- epoch
- filename
- files
- group
- obsoletes
- packager
- provides
- requires
- size
- sourcerpm
- summary
- url
- )),
conffiles => add_param_closure('conf_files'),
debug => \$::debug,
literal => \$::literal,
diff --git a/urpmf b/urpmf
index 91a0f555..b1cc27ee 100755
--- a/urpmf
+++ b/urpmf
@@ -30,7 +30,6 @@ This is free software and may be redistributed under the terms of the GNU GPL.
usage:
", $urpm::VERSION) . N(" --help - print this help message
-") . N(" --all - print all tags
") . N(" --arch - print architecture
") . N(" --buildhost - print build host
") . N(" --buildtime - print build time
@@ -113,7 +112,8 @@ my $urpm = new urpm;
$verbose or $urpm->{log} = sub {};
#- build the callback matching the expression.
-#- XXX it would be nice to use "my $_" in this callback.
+#- it would be nice to use "my $_" in this callback.
+#- TODO handle multiple valued tags, requires, provides, files, etc
my $callback = qq<sub {
my (\$urpm, \$pkg) = \@_;
local *_; \$_ = sprintf(qq{$qf\\n}>;