]> git.proxmox.com Git - proxmox-backup.git/commitdiff
pxar extract: remove pattern from arg_param, add target instead
authorDietmar Maurer <dietmar@proxmox.com>
Wed, 15 Apr 2020 04:41:37 +0000 (06:41 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 15 Apr 2020 04:41:37 +0000 (06:41 +0200)
src/bin/pxar.rs

index 9205c7bcc7a46d441992f81cc968cecf13a5d7e1..bcbce4ff2278ecafbe987132a20246f4558d7a83 100644 (file)
@@ -504,7 +504,7 @@ fn main() {
             .completion_cb("source", tools::complete_file_name)
         )
         .insert("extract", CliCommand::new(&API_METHOD_EXTRACT_ARCHIVE)
-            .arg_param(&["archive", "pattern"])
+            .arg_param(&["archive", "target"])
             .completion_cb("archive", tools::complete_file_name)
             .completion_cb("target", tools::complete_file_name)
             .completion_cb("files-from", tools::complete_file_name)