diff options
Diffstat (limited to 'usage_test.go')
| -rw-r--r-- | usage_test.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usage_test.go b/usage_test.go index bdf4ea2..940bf40 100644 --- a/usage_test.go +++ b/usage_test.go @@ -65,13 +65,13 @@ func TestUsageLongPositionalWithHelp_legacyForm(t *testing.T) { Positional arguments: VERYLONGPOSITIONALWITHHELP - this positional argument is very long + this positional argument is very long but cannot include commas Options: --help, -h display this help and exit ` var args struct { - VeryLongPositionalWithHelp string `arg:"positional,help:this positional argument is very long"` + VeryLongPositionalWithHelp string `arg:"positional,help:this positional argument is very long but cannot include commas"` } p, err := NewParser(Config{}, &args) @@ -88,13 +88,13 @@ func TestUsageLongPositionalWithHelp_newForm(t *testing.T) { Positional arguments: VERYLONGPOSITIONALWITHHELP - this positional argument is very long + this positional argument is very long, and includes: commas, colons etc Options: --help, -h display this help and exit ` var args struct { - VeryLongPositionalWithHelp string `arg:"positional" help:"this positional argument is very long"` + VeryLongPositionalWithHelp string `arg:"positional" help:"this positional argument is very long, and includes: commas, colons etc"` } p, err := NewParser(Config{}, &args) |
