pxar extract: remove pattern from arg_param, add target instead

This commit is contained in:
Dietmar Maurer 2020-04-15 06:41:37 +02:00
parent 7e3d2e5b41
commit 9a328319dd

View 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)