diff options
author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2017-12-22 19:53:53 +0000 |
---|---|---|
committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2017-12-22 20:39:20 +0000 |
commit | c3802a7f2b424abfb77c88104357877bf43ab2c6 (patch) | |
tree | 1137e17f09bbde154094fb7b6be11138bc2af53e /draklive | |
parent | 2e7c611d1b25c6ccf99585089c9372bdd3701f88 (diff) | |
download | drakiso-c3802a7f2b424abfb77c88104357877bf43ab2c6.tar drakiso-c3802a7f2b424abfb77c88104357877bf43ab2c6.tar.gz drakiso-c3802a7f2b424abfb77c88104357877bf43ab2c6.tar.bz2 drakiso-c3802a7f2b424abfb77c88104357877bf43ab2c6.tar.xz drakiso-c3802a7f2b424abfb77c88104357877bf43ab2c6.zip |
Add comand line option to set force and verbosity level.
Diffstat (limited to 'draklive')
-rwxr-xr-x | draklive | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -39,6 +39,12 @@ use MGA::DrakISO::BuildLoop; use MGA::DrakISO::BuildISO; ############################################################################### +# Globals +############################################################################### + +$::verbose = 1; + +############################################################################### # Actions ############################################################################### @@ -95,6 +101,7 @@ GetOptions( "config=s" => \$config_path, "settings=s" => \$settings_path, "define=s" => \%{$build_object->{settings}}, + "verbose=i" => \$::verbose, ) or Pod::Usage::pod2usage(); require standalone; @@ -163,6 +170,10 @@ draklive [options] --all-regions proceed with all configured regions + --verbose <level> + set verbosity level to <level> + defaults to 1 + Examples: draklive --clean |