From 80445b21221237e50d9aa694a842d1559b9ff050 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Mon, 3 Oct 2005 15:09:36 +0000 Subject: Add --version. Doc clarification. --- packdrake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packdrake b/packdrake index 4923261..46c1aee 100755 --- a/packdrake +++ b/packdrake @@ -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). =back -- cgit v1.2.1