From b898b433f1a37be2bcd2f11c1ce7260591fe98fc Mon Sep 17 00:00:00 2001 From: Timofey Solomko Date: Sun, 12 Aug 2018 18:57:07 +0300 Subject: [PATCH] [swcomp] -v is now accepted as an alias for --verbose --- Sources/swcomp/Containers/7ZipCommand.swift | 2 +- Sources/swcomp/Containers/TarCommand.swift | 2 +- Sources/swcomp/Containers/ZipCommand.swift | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/swcomp/Containers/7ZipCommand.swift b/Sources/swcomp/Containers/7ZipCommand.swift index 74249a19..1a74f9c5 100644 --- a/Sources/swcomp/Containers/7ZipCommand.swift +++ b/Sources/swcomp/Containers/7ZipCommand.swift @@ -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("-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() diff --git a/Sources/swcomp/Containers/TarCommand.swift b/Sources/swcomp/Containers/TarCommand.swift index ad4dd9cd..7324c393 100644 --- a/Sources/swcomp/Containers/TarCommand.swift +++ b/Sources/swcomp/Containers/TarCommand.swift @@ -22,7 +22,7 @@ class TarCommand: Command { let create = Key("-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) diff --git a/Sources/swcomp/Containers/ZipCommand.swift b/Sources/swcomp/Containers/ZipCommand.swift index 33e3e71d..fc011109 100644 --- a/Sources/swcomp/Containers/ZipCommand.swift +++ b/Sources/swcomp/Containers/ZipCommand.swift @@ -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("-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()