summaryrefslogtreecommitdiffstats
path: root/include/osmocom/vty/vty.h
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2019-01-31 08:15:23 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2019-02-04 16:43:57 +0000
commit9ea9dd0d5fdad50d9b2ea2bdddd9d919efab31ca (patch)
treebde4b387a1a3e27ec6f19fa3579c9831fd2379a7 /include/osmocom/vty/vty.h
parentb55f4d2df21b966c3953264d8961f259814f4650 (diff)
vty: enable tab-completion for optional-multi-choice args
In cmd_complete_command_real(), detect and strip square braces from multi-choice arguments, to enable tab-completion for commands like > list cmd [(alpha|beta)] > cmd <TAB> alpha beta > cmd be<TAB> > cmd beta Change-Id: I8c304300b3633bb6e9b3457fcfa42121c8272ac0
Diffstat (limited to 'include/osmocom/vty/vty.h')
0 files changed, 0 insertions, 0 deletions