summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Flint <[email protected]>2024-07-04 12:40:29 -0400
committerGitHub <[email protected]>2024-07-04 12:40:29 -0400
commit3de7278c4f091f643033f3ebc8fe670c6e7ff7dd (patch)
tree4db949f7aa8af59a5e737c3cf6d124d0b39be620
parentec0ced74672ea46c7b57cea1bb44e18cf9237a8a (diff)
parentb8282df4c42289235a75ca9e4743ce6d70edd708 (diff)
Merge pull request #257 from hhromic/fix-testable-example
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