summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-06-13 02:22:11 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-06-13 02:22:11 +0000
commit28284221f191085de15e68ad37609f598984819a (patch)
tree5cf503c513ba64115cd86b5d86fee7b76031ec28
parentd6e0df002cc316ad44df035b96a9621494187136 (diff)
downloadurpmi-28284221f191085de15e68ad37609f598984819a.tar
urpmi-28284221f191085de15e68ad37609f598984819a.tar.gz
urpmi-28284221f191085de15e68ad37609f598984819a.tar.bz2
urpmi-28284221f191085de15e68ad37609f598984819a.tar.xz
urpmi-28284221f191085de15e68ad37609f598984819a.zip
Document --summary option to urpmq.
Add -S as an alias for --summary.
-rw-r--r--man/C/urpmq.82
-rw-r--r--urpm/args.pm2
-rwxr-xr-xurpmq1
3 files changed, 4 insertions, 1 deletions
diff --git a/man/C/urpmq.8 b/man/C/urpmq.8
index a397ecb3..e5f6d1ee 100644
--- a/man/C/urpmq.8
+++ b/man/C/urpmq.8
@@ -117,6 +117,8 @@ is the default).
.IP "\fB\-R\fP"
Reverse search to what requires the package given. If you specify this option
twice, looks also through virtual packages to find the dependencies.
+.IP "\fB\-S\fP"
+Same as \fB--summary\fP.
.IP "\fB\-y\fP"
This is the same as \fB--fuzzy\fP.
.IP "\fB\-Y\fP"
diff --git a/urpm/args.pm b/urpm/args.pm
index 9bb3f111..9ed610a5 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -194,7 +194,7 @@ my %options_spec = (
keep => \$options{keep},
list => \$options{list},
changelog => \$options{changelog},
- summary => \$options{summary},
+ 'summary|S' => \$options{summary},
'list-media:s' => sub { $options{list_media} = $_[1] || 'all' },
'list-url' => \$options{list_url},
'list-nodes' => \$options{list_nodes},
diff --git a/urpmq b/urpmq
index 51f42a46..b2ba9369 100755
--- a/urpmq
+++ b/urpmq
@@ -74,6 +74,7 @@ usage:
") . N(" --env - use specific environment (typically a bug
report).
") . N(" --changelog - print changelog.
+") . N(" --summary, -S - print summary.
") . N(" -a - select all matches on command line.
") . N(" -c - complete output with package to be removed.
") . N(" -d - extend query to package dependencies.