mirror of
https://github.com/tsolomko/SWCompression.git
synced 2026-06-23 14:56:41 +00:00
[swcomp] -v is now accepted as an alias for --verbose
This commit is contained in:
@@ -14,7 +14,7 @@ class SevenZipCommand: ContainerCommand {
|
||||
|
||||
let info = Flag("-i", "--info", description: "Print list of entries in container and their attributes")
|
||||
let extract = Key<String>("-e", "--extract", description: "Extract container into specified directory")
|
||||
let verbose = Flag("--verbose", description: "Print the list of extracted files and directories.")
|
||||
let verbose = Flag("-v", "--verbose", description: "Print the list of extracted files and directories.")
|
||||
|
||||
let archive = Parameter()
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ class TarCommand: Command {
|
||||
let create = Key<String>("-c", "--create",
|
||||
description: "Create a new container containing specified file/directory (recursively)")
|
||||
|
||||
let verbose = Flag("--verbose", description: "Print the list of extracted files and directories.")
|
||||
let verbose = Flag("-v", "--verbose", description: "Print the list of extracted files and directories.")
|
||||
|
||||
var optionGroups: [OptionGroup] {
|
||||
let compressions = OptionGroup(options: [gz, bz2, xz], restriction: .atMostOne)
|
||||
|
||||
@@ -14,7 +14,7 @@ class ZipCommand: ContainerCommand {
|
||||
|
||||
let info = Flag("-i", "--info", description: "Print list of entries in container and their attributes")
|
||||
let extract = Key<String>("-e", "--extract", description: "Extract container into specified directory")
|
||||
let verbose = Flag("--verbose", description: "Print the list of extracted files and directories.")
|
||||
let verbose = Flag("-v", "--verbose", description: "Print the list of extracted files and directories.")
|
||||
|
||||
let archive = Parameter()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user