diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2002-11-18 15:53:36 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2002-11-18 15:53:36 +0000 |
commit | c7a67d1bcbcffaadbbb06be8f11e78e7508eed02 (patch) | |
tree | ccfa6168b59e6fd34f66b6fff7d343277272bc67 /perl-install/standalone/drakbug | |
parent | 1e53c8f9b0a53e27fe8255ceea9f093bbd95cfd7 (diff) | |
download | drakx-backup-do-not-use-c7a67d1bcbcffaadbbb06be8f11e78e7508eed02.tar drakx-backup-do-not-use-c7a67d1bcbcffaadbbb06be8f11e78e7508eed02.tar.gz drakx-backup-do-not-use-c7a67d1bcbcffaadbbb06be8f11e78e7508eed02.tar.bz2 drakx-backup-do-not-use-c7a67d1bcbcffaadbbb06be8f11e78e7508eed02.tar.xz drakx-backup-do-not-use-c7a67d1bcbcffaadbbb06be8f11e78e7508eed02.zip |
drakbug, drakfont, drakperm, draksplash, drakxtv, harddrake2,
net_monitor : final update for common cli options/help manager
Diffstat (limited to 'perl-install/standalone/drakbug')
-rwxr-xr-x | perl-install/standalone/drakbug | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/perl-install/standalone/drakbug b/perl-install/standalone/drakbug index b5e4e4053..b8e1c3a3e 100755 --- a/perl-install/standalone/drakbug +++ b/perl-install/standalone/drakbug @@ -36,23 +36,7 @@ my $version = "0.9.0"; my $prog; my $incident=0; -sub usage { - print STDERR N("drakbug version %s -Copyright (C) 2002 MandrakeSoft. -This is free software and may be redistributed under the terms of the GNU GPL. - -usage: drakbug [OPTIONS] [PROGRAM_NAME] - -OPTIONS: -", $version) . N(" --help - print this help message. -") . "\n" . N(" --report - program should be one of mandrake tools -") . "\n" . N(" --incident - program should be one of mandrake tools -"); - exit(0); -} - while (defined($_ = shift @ARGV)) { - /^--help$/ and do { usage; next }; /^--report$/ and do { $prog = shift @ARGV }; /^--incident$/ and do {$incident = 1 ; $prog = shift @ARGV }; } |