From 60b44a3412861d0558f389df509496223c46fae3 Mon Sep 17 00:00:00 2001 From: Stefan Herold Date: Tue, 18 May 2021 22:53:16 +0200 Subject: [PATCH] Slightly modify schemes parameter --- Sources/Snap/commands/sub/Run.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Sources/Snap/commands/sub/Run.swift b/Sources/Snap/commands/sub/Run.swift index 1c0ea48..fbda786 100644 --- a/Sources/Snap/commands/sub/Run.swift +++ b/Sources/Snap/commands/sub/Run.swift @@ -50,7 +50,7 @@ extension Snap { @Option(help: "The workspace used to make the screenshots.") var workspace: String - @Option(help: "A list of schemes to run the screenshot tests on.") + @Option(name: [.short, .customLong("scheme")], help: "A scheme to run the screenshot tests on. Can be specified multiple times to generate screenshots for multiple schemes.") var schemes: [String] @Option(help: "The mode the tool should run in.") @@ -106,6 +106,7 @@ extension Snap { styles: \(mode.styles.map { $0.name }) devices: \(mode.devices.map { $0.name }) platform: \(platform) + schemes: \(schemes) destination: \(outURL.path.appendPathComponent(zipFileName)) """ print(configMessage)