summaryrefslogtreecommitdiffstats
path: root/mdkupdate
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2006-03-14 12:09:48 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2006-03-14 12:09:48 +0000
commite98ad66e14f894f00c0a1b6b975b914d18b7ece3 (patch)
treea695e6aa78d0bd44e39571a48f87a0fa39de5848 /mdkupdate
parent82488b80556c0c4c7216a18a11c80cf480313747 (diff)
downloadmgaonline-e98ad66e14f894f00c0a1b6b975b914d18b7ece3.tar
mgaonline-e98ad66e14f894f00c0a1b6b975b914d18b7ece3.tar.gz
mgaonline-e98ad66e14f894f00c0a1b6b975b914d18b7ece3.tar.bz2
mgaonline-e98ad66e14f894f00c0a1b6b975b914d18b7ece3.tar.xz
mgaonline-e98ad66e14f894f00c0a1b6b975b914d18b7ece3.zip
add --debug option
Diffstat (limited to 'mdkupdate')
-rwxr-xr-xmdkupdate4
1 files changed, 3 insertions, 1 deletions
diff --git a/mdkupdate b/mdkupdate
index 4e307f24..1b182dc7 100755
--- a/mdkupdate
+++ b/mdkupdate
@@ -71,17 +71,19 @@ usage:
") . N(" --applet - launch Mandriva Update.
") . N(" --mnf - launch mnf specific scripts.
") . N(" --noX - text mode version of Mandriva Update.
+") . N(" --debug - log what is done
") . N(" --bundle file.bundle - parse and install package from .bundle metainfo file.
");
exit(0);
}
-my ($auto, $applet, $mnf, $noX, $bundle);
+my ($auto, $applet, $mnf, $noX, $bundle, $debug);
my %options = (
'auto' => \$auto,
'a|applet' => \$applet,
'mnf' => \$mnf,
'noX' => \$noX,
+ 'd|debug' => \$debug,
'b|bundle:s' => sub { $bundle = $_[1] || 'webbundle' } ,
'h|help' => \&usage,
);