]> git.proxmox.com Git - dab.git/blobdiff - dab
allow compressing final archive with zstd
[dab.git] / dab
diff --git a/dab b/dab
index 6ca953ac8081e08c556c2221f31e5cb6899e7820..f1f63e8e7baf9a0a233a51f428300d99a2c9ee8f 100755 (executable)
--- a/dab
+++ b/dab
@@ -12,7 +12,7 @@ $ENV{'LC_ALL'} = 'C';
 my $commands = {
     'init' => '',
     'bootstrap' => '[--exim] [--minimal]',
-    'finalize' => '[--keepmycnf]',
+    'finalize' => '[--keepmycnf] [--compressor <gz (default)|zst>]',
     'veid' => '',
     'basedir' => '',
     'packagefile' => '',
@@ -93,7 +93,7 @@ eval {
 
     } elsif ($cmd eq 'finalize') {
        my $opts = {};
-       if (!GetOptions ($opts, 'keepmycnf')) {
+       if (!GetOptions ($opts, 'keepmycnf', 'compressor=s')) {
            print_usage();
            exit (-1);
        }