diff options
-rwxr-xr-x | rpmdrake | 27 |
1 files changed, 13 insertions, 14 deletions
@@ -24,21 +24,20 @@ use MDK::Common 'any'; BEGIN { #- we want to run this code before the Gtk->init of the use-my_gtk my $basename = sub { local $_ = shift; s|/*\s*$||; s|.*/||; $_ }; - #- TODO translate this any { /^--?h/ } @ARGV and do { - printf qq(Usage: %s [OPTION]... - --changelog-first display changelog before filelist in the description window - --media=medium1,.. limit to given media - --merge-all-rpmnew propose to merge all .rpmnew/.rpmsave files found - --mode=MODE set mode (install (default), remove, update) - --no-confirmation don't ask first confirmation question in update mode - --no-media-update don't update media at startup - --no-verify-rpm don't verify packages signatures - --parallel=alias,host be in parallel mode, use "alias" group, use "host" machine to show needed deps - --pkg-nosel=pkg1,.. show only these packages - --pkg-sel=pkg1,.. preselect these packages - --root force to run as root - --search=pkg run search for "pkg" + printf join("\n", N("Usage: %s [OPTION]..."), +N(" --changelog-first display changelog before filelist in the description window"), +N(" --media=medium1,.. limit to given media"), +N(" --merge-all-rpmnew propose to merge all .rpmnew/.rpmsave files found"), +N(" --mode=MODE set mode (install (default), remove, update)"), +N(" --no-confirmation don't ask first confirmation question in update mode"), +N(" --no-media-update don't update media at startup"), +N(" --no-verify-rpm don't verify packages signatures"), +N(" --parallel=alias,host be in parallel mode, use \"alias\" group, use \"host\" machine to show needed deps"), +N(" --pkg-nosel=pkg1,.. show only these packages"), +N(" --pkg-sel=pkg1,.. preselect these packages"), +N(" --root force to run as root"), +N(" --search=pkg run search for \"pkg\""), ), $basename->($0); exit 0; }; |