From 8d41bc71305db059e371da46d665efaf93d30ff4 Mon Sep 17 00:00:00 2001 From: Timofey Solomko Date: Sun, 5 Nov 2017 00:45:12 +0300 Subject: [PATCH] Make swiftlint happier --- Sources/Common/FileSystemType.swift | 2 +- Sources/swcomp/7ZipCommand.swift | 3 ++- Sources/swcomp/TarCommand.swift | 3 ++- Sources/swcomp/ZipCommand.swift | 3 ++- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Sources/Common/FileSystemType.swift b/Sources/Common/FileSystemType.swift index ac0da430..11984909 100644 --- a/Sources/Common/FileSystemType.swift +++ b/Sources/Common/FileSystemType.swift @@ -13,7 +13,7 @@ public enum FileSystemType { case other /** One of many UNIX-like systems. - + - Note: Modern macOS systems also fall into this category. */ case unix diff --git a/Sources/swcomp/7ZipCommand.swift b/Sources/swcomp/7ZipCommand.swift index ace0f1fe..c2cbd792 100644 --- a/Sources/swcomp/7ZipCommand.swift +++ b/Sources/swcomp/7ZipCommand.swift @@ -13,7 +13,8 @@ class SevenZipCommand: Command { let shortDescription = "Extracts 7-Zip container" 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 (it must be empty or not exist)") + let extract = Key("-e", "--extract", + description: "Extract container into specified directory (it must be empty or not exist)") let verbose = Flag("--verbose", description: "Print the list of extracted files and directories.") diff --git a/Sources/swcomp/TarCommand.swift b/Sources/swcomp/TarCommand.swift index 93ca154a..50209fde 100644 --- a/Sources/swcomp/TarCommand.swift +++ b/Sources/swcomp/TarCommand.swift @@ -17,7 +17,8 @@ class TarCommand: Command { let xz = Flag("-x", "--xz", description: "Decompress with XZ first") 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 (it must be empty or not exist)") + let extract = Key("-e", "--extract", + description: "Extract container into specified directory (it must be empty or not exist)") let verbose = Flag("--verbose", description: "Print the list of extracted files and directories.") diff --git a/Sources/swcomp/ZipCommand.swift b/Sources/swcomp/ZipCommand.swift index 6172a6b6..e5a1cdb9 100644 --- a/Sources/swcomp/ZipCommand.swift +++ b/Sources/swcomp/ZipCommand.swift @@ -13,7 +13,8 @@ class ZipCommand: Command { let shortDescription = "Extracts ZIP container" 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 (it must be empty or not exist)") + let extract = Key("-e", "--extract", + description: "Extract container into specified directory (it must be empty or not exist)") let verbose = Flag("--verbose", description: "Print the list of extracted files and directories.")