You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -84,18 +84,17 @@ This will complete for both commands:
84
84
85
85
**Option completion**
86
86
87
-
Option handlers work the same way as argument handlers, except you use `Completion::TYPE_OPTION` for the type.
88
-
89
-
**Note this functionality is not yet complete:** long-form options (eg `--hello="world"`) do not support completion yet. Option completion is only supported for shortcuts (eg. `-h [tab]`).
87
+
Option handlers work the same way as argument handlers, except you use `Completion::TYPE_OPTION` for the type..
90
88
91
89
Completion::makeGlobalHandler(
92
90
'weather', Completion::TYPE_OPTION,
93
91
array('raining', 'sunny', 'everything is on fire!')
94
92
)
95
93
96
-
Option completion is only supported for shortcuts currently:
94
+
Option completion is only supported for non-quoted values currently:
0 commit comments