From 28284221f191085de15e68ad37609f598984819a Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Mon, 13 Jun 2005 02:22:11 +0000 Subject: Document --summary option to urpmq. Add -S as an alias for --summary. --- man/C/urpmq.8 | 2 ++ urpm/args.pm | 2 +- urpmq | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) 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. -- cgit v1.2.1