diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-10-03 15:09:36 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-10-03 15:09:36 +0000 |
commit | 80445b21221237e50d9aa694a842d1559b9ff050 (patch) | |
tree | 38ef9f8f0d98e049e06fcfec1554d4f02e9c0ed5 /packdrake | |
parent | 4f38a8a59541dd239b24a616938b73fb339b5498 (diff) | |
download | rpmtools-80445b21221237e50d9aa694a842d1559b9ff050.tar rpmtools-80445b21221237e50d9aa694a842d1559b9ff050.tar.gz rpmtools-80445b21221237e50d9aa694a842d1559b9ff050.tar.bz2 rpmtools-80445b21221237e50d9aa694a842d1559b9ff050.tar.xz rpmtools-80445b21221237e50d9aa694a842d1559b9ff050.zip |
Add --version. Doc clarification.
Diffstat (limited to 'packdrake')
-rwxr-xr-x | packdrake | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -21,6 +21,7 @@ my @list; my $error_mode = "packdrake: choose only --build, --extract, --list or --cat\n"; foreach (@ARGV) { /^--help$/ and usage(); + /^--version$/ and do { print "$0 version $packdrake::VERSION\n"; exit 0 }; /^--build$/ and do { $mode and die $error_mode; $mode = "build"; @nextargv = (\$file); next }; /^--extract$/ and do { $mode and die $error_mode; $mode = "extract"; @nextargv = (\$file, \$dir); next }; /^--list$/ and do { $mode and die $error_mode; $mode = "list"; @nextargv = (\$file); next }; @@ -118,7 +119,7 @@ Default is deduced from the archive filename (gzip or bzip2). =item --compress cmd -Select compression command. +Select compression command (e.g. C<gzip -9>). =back |