mirror of https://github.com/digint/btrbk
btrbk: honor multiple -v command line options (increase loglevel)
parent
3a753c9140
commit
20c390893a
2
btrbk
2
btrbk
|
@ -4587,7 +4587,7 @@ MAIN:
|
||||||
'wipe' => \$wipe_snapshots,
|
'wipe' => \$wipe_snapshots,
|
||||||
'resume-only|r' => \$resume_only_DEPRECATED,
|
'resume-only|r' => \$resume_only_DEPRECATED,
|
||||||
'quiet|q' => \$quiet,
|
'quiet|q' => \$quiet,
|
||||||
'verbose|v' => sub { $loglevel = 2; },
|
'verbose|v' => sub { $loglevel = ($loglevel =~ /^[0-9]+$/) ? $loglevel+1 : 2; },
|
||||||
'loglevel|l=s' => \$loglevel,
|
'loglevel|l=s' => \$loglevel,
|
||||||
'progress' => \$show_progress,
|
'progress' => \$show_progress,
|
||||||
'table|t' => sub { $output_format = "table" },
|
'table|t' => sub { $output_format = "table" },
|
||||||
|
|
Loading…
Reference in New Issue