diff options
| author | Rick <[email protected]> | 2017-10-02 14:36:23 +0100 |
|---|---|---|
| committer | Rick <[email protected]> | 2017-10-02 14:36:23 +0100 |
| commit | ba9514f0be00c17e53b4e0e255bcb9482354935f (patch) | |
| tree | f0814a6cf76ebae438a0d827466c853c913b8b3f /usage_test.go | |
| parent | d7961941f0ceee4e55062041991de7bbd43b2b57 (diff) | |
Further clarification
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) |
