summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-10-12 15:28:18 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-10-12 15:28:18 +0000
commit3e7e57d3bc7b3f170e7552736afefc88248b1ed3 (patch)
treea9b25fc51a442f90f9233946f3fe4c3f8fcb0cc8
parent9241b7b29ce5a79026e7805969754c0c772d129e (diff)
downloadurpmi-3e7e57d3bc7b3f170e7552736afefc88248b1ed3.tar
urpmi-3e7e57d3bc7b3f170e7552736afefc88248b1ed3.tar.gz
urpmi-3e7e57d3bc7b3f170e7552736afefc88248b1ed3.tar.bz2
urpmi-3e7e57d3bc7b3f170e7552736afefc88248b1ed3.tar.xz
urpmi-3e7e57d3bc7b3f170e7552736afefc88248b1ed3.zip
Sort options.
-rw-r--r--urpm/args.pm28
-rwxr-xr-xurpmf42
2 files changed, 35 insertions, 35 deletions
diff --git a/urpm/args.pm b/urpm/args.pm
index 6f632e4f..460adfbb 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -136,29 +136,29 @@ my %options_spec = (
},
urpmf => {
- 'verbose|v' => \$::verbose,
- 'quiet|q' => \$::quiet,
- 'uniq|u' => \$::uniq,
all => sub {
foreach my $k (qw(filename group size summary description sourcerpm
packager buildhost url provides requires files conflicts obsoletes))
{ $::params{$k} = 1 }
},
- name => \$::params{filename},
- group => \$::params{group},
- size => \$::params{size},
- epoch => \$::params{epoch},
- summary => \$::params{summary},
+ buildhost => \$::params{buildhost},
+ conflicts => \$::params{conflicts},
description => \$::params{description},
- sourcerpm => \$::params{sourcerpm},
+ epoch => \$::params{epoch},
+ files => \$::params{files},
+ group => \$::params{group},
+ name => \$::params{filename},
+ obsoletes => \$::params{obsoletes},
packager => \$::params{packager},
- buildhost => \$::params{buildhost},
- url => \$::params{url},
provides => \$::params{provides},
+ 'quiet|q' => \$::quiet,
requires => \$::params{requires},
- files => \$::params{files},
- conflicts => \$::params{conflicts},
- obsoletes => \$::params{obsoletes},
+ size => \$::params{size},
+ sourcerpm => \$::params{sourcerpm},
+ summary => \$::params{summary},
+ 'uniq|u' => \$::uniq,
+ url => \$::params{url},
+ 'verbose|v' => \$::verbose,
m => \$::params{media},
i => sub { $::pattern = 'i' },
f => sub { $::full = 'full' },
diff --git a/urpmf b/urpmf
index 4fcd8fbb..4c411ad4 100755
--- a/urpmf
+++ b/urpmf
@@ -30,33 +30,33 @@ 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(" --update - use only update media.
-") . N(" --media - use only the given media, separated by comma.
+") . N(" --all - print all tags.
+") . N(" --buildhost - print tag buildhost: build host.
+") . N(" --conflicts - print tag conflicts: all conflicts.
+") . N(" --description - print tag description: description.
+") . N(" --env - use specific environment (typically a bug
+ report).
+") . N(" --epoch - print tag epoch: epoch.
") . N(" --excludemedia - do not use the given media, separated by comma.
-") . N(" --sortmedia - sort media according to substrings separated by comma.
-") . N(" --synthesis - use the synthesis given instead of urpmi db.
-") . N(" --verbose - verbose mode.
+") . N(" --files - print tag files: all files.
+") . N(" --group - print tag group: group.
+") . N(" --media - use only the given media, separated by comma.
+") . N(" --name - print only package names.
+") . N(" --obsoletes - print tag obsoletes: all obsoletes.
+") . N(" --packager - print tag packager: packager.
+") . N(" --provides - print tag provides: all provides.
") . N(" --quiet - do not print tag name (default if no tag given on command
line, incompatible with interactive mode).
-") . N(" --uniq - do not print identical lines.
-") . N(" --all - print all tags.
-") . N(" --name - print only package names.
-") . N(" --group - print tag group: group.
+") . N(" --requires - print tag requires: all requires.
") . N(" --size - print tag size: size.
-") . N(" --epoch - print tag epoch: epoch.
-") . N(" --summary - print tag summary: summary.
-") . N(" --description - print tag description: description.
+") . N(" --sortmedia - sort media according to substrings separated by comma.
") . N(" --sourcerpm - print tag sourcerpm: source rpm.
-") . N(" --packager - print tag packager: packager.
-") . N(" --buildhost - print tag buildhost: build host.
+") . N(" --summary - print tag summary: summary.
+") . N(" --synthesis - use the synthesis given instead of urpmi db.
+") . N(" --uniq - do not print identical lines.
+") . N(" --update - use only update media.
") . N(" --url - print tag url: url.
-") . N(" --provides - print tag provides: all provides.
-") . N(" --requires - print tag requires: all requires.
-") . N(" --files - print tag files: all files.
-") . N(" --conflicts - print tag conflicts: all conflicts.
-") . N(" --obsoletes - print tag obsoletes: all obsoletes.
-") . N(" --env - use specific environment (typically a bug
- report).
+") . N(" --verbose - verbose mode.
") . N(" -m - print the media in which the package was found.
") . N(" -i - ignore case distinctions in every pattern.
") . N(" -f - print version, release and arch with name.