summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hromic <[email protected]>2024-06-30 23:43:37 +0100
committerHugo Hromic <[email protected]>2024-06-30 23:46:34 +0100
commitb8282df4c42289235a75ca9e4743ce6d70edd708 (patch)
tree59f07677dedf490937e904f0f924ce1bc6858402
parent0cc152dce52a7a61cc3cd73d25eae82adad99807 (diff)
Fix testable example output comment formatting
-rw-r--r--example_test.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/example_test.go b/example_test.go
index d3622bf..9b72b90 100644
--- a/example_test.go
+++ b/example_test.go
@@ -201,13 +201,12 @@ func Example_helpPlaceholder() {
MustParse(&args)
// output:
-
// Usage: example [--optimize LEVEL] [--maxjobs N] SRC [DST [DST ...]]
-
+ //
// Positional arguments:
// SRC
// DST
-
+ //
// Options:
// --optimize LEVEL, -O LEVEL
// optimization level