1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

Another small output fix for --help and --version.

This commit is contained in:
Guenter Knauf 2013-04-04 04:01:01 +02:00
parent 3dcc1a9c19
commit fbc35d394c

View File

@ -44,6 +44,7 @@ my $version = '1.18';
$opt_w = 76; # default base64 encoded lines length $opt_w = 76; # default base64 encoded lines length
$0 =~ s@.*(/|\\)@@;
$Getopt::Std::STANDARD_HELP_VERSION = 1; $Getopt::Std::STANDARD_HELP_VERSION = 1;
getopts('bfhilnqtuvw:'); getopts('bfhilnqtuvw:');
@ -59,7 +60,6 @@ if ($opt_i) {
print ("=" x 78 . "\n"); print ("=" x 78 . "\n");
} }
$0 =~ s@.*(/|\\)@@;
sub HELP_MESSAGE() { sub HELP_MESSAGE() {
print "Usage:\t${0} [-b] [-f] [-i] [-l] [-n] [-q] [-t] [-u] [-v] [-w<l>] [<outputfile>]\n"; print "Usage:\t${0} [-b] [-f] [-i] [-l] [-n] [-q] [-t] [-u] [-v] [-w<l>] [<outputfile>]\n";
print "\t-b\tbackup an existing version of ca-bundle.crt\n"; print "\t-b\tbackup an existing version of ca-bundle.crt\n";