From e5979ac61d49d2ae991559f823a486c2e094e28e Mon Sep 17 00:00:00 2001 From: Brandon Roberson Date: Mon, 31 Jul 2023 16:46:50 +0000 Subject: [PATCH] Fix whitespace for help message --- acceptance/main_test.go | 8 ++++---- main.go | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/acceptance/main_test.go b/acceptance/main_test.go index 2c3fce10..d1963784 100644 --- a/acceptance/main_test.go +++ b/acceptance/main_test.go @@ -52,11 +52,11 @@ var _ = Describe("acceptance", func() { Expect(err).NotTo(HaveOccurred()) Eventually(session).Should(gexec.Exit(0)) Expect(string(session.Out.Contents())).To(ContainSubstring(` - --input-tile, -i path to input tile (example: /path/to/input.pivotal) - --output-tile, -o path to output tile (example: /path/to/output.pivotal) + --input-tile, -i path to input tile (example: /path/to/input.pivotal) + --output-tile, -o path to output tile (example: /path/to/output.pivotal) --preserve-extracted, -p preserve the files created during the tile extraction process (useful for debugging) - --registry, -r path to docker registry (example: /path/to/registry, default: "https://registry.hub.docker.com") - --help, -h prints this usage information`)) + --registry, -r path to docker registry (example: /path/to/registry, default: "https://registry.hub.docker.com") + --help, -h prints this usage information`)) }) }) }) diff --git a/main.go b/main.go index 99861fa6..eab93bd9 100644 --- a/main.go +++ b/main.go @@ -13,11 +13,11 @@ import ( const usageText = `winfs-injector injects the Windows 2016 root file system into the Windows 2016 Runtime Tile. Usage: winfs-injector - --input-tile, -i path to input tile (example: /path/to/input.pivotal) - --output-tile, -o path to output tile (example: /path/to/output.pivotal) + --input-tile, -i path to input tile (example: /path/to/input.pivotal) + --output-tile, -o path to output tile (example: /path/to/output.pivotal) --preserve-extracted, -p preserve the files created during the tile extraction process (useful for debugging) - --registry, -r path to docker registry (example: /path/to/registry, default: "https://registry.hub.docker.com") - --help, -h prints this usage information + --registry, -r path to docker registry (example: /path/to/registry, default: "https://registry.hub.docker.com") + --help, -h prints this usage information ` func main() {