Skip to content

Commit 51fa79d

Browse files
committed
Minor readme edits
1 parent afb47e5 commit 51fa79d

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,18 +84,17 @@ This will complete for both commands:
8484

8585
**Option completion**
8686

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..
9088

9189
Completion::makeGlobalHandler(
9290
'weather', Completion::TYPE_OPTION,
9391
array('raining', 'sunny', 'everything is on fire!')
9492
)
9593

96-
Option completion is only supported for shortcuts currently:
94+
Option completion is only supported for non-quoted values currently:
9795

9896
myapp walk -w [tab]
97+
myapp walk --weather [tab]
9998

10099
## Notes
101100

0 commit comments

Comments
 (0)