diff options
| author | Eyal Posener <[email protected]> | 2019-11-21 00:16:33 +0200 |
|---|---|---|
| committer | Eyal Posener <[email protected]> | 2019-11-21 00:16:33 +0200 |
| commit | cf002b9a50d777b10beaf228f316c5da34f8178a (patch) | |
| tree | 0e86858f20fecaab1b6d1c3d8e2e00628cb9c7b0 /complete_test.go | |
| parent | b05895fa6c478784bdf66547fd6b0bf613d06f0e (diff) | |
Fix completion of help when completing flags
Diffstat (limited to 'complete_test.go')
| -rw-r--r-- | complete_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/complete_test.go b/complete_test.go index 36e6c5b..a7c6834 100644 --- a/complete_test.go +++ b/complete_test.go @@ -125,6 +125,7 @@ func TestCompleter(t *testing.T) { {args: "--", want: []string{"--help"}}, {args: "-he", want: []string{"-help"}}, {args: "-x", want: []string{"-help"}}, + {args: "flags -h", want: []string{"-h"}}, } for _, tt := range tests { |
