Revision b954f097 autotools/build-bash-completion
b/autotools/build-bash-completion | ||
---|---|---|
357 | 357 |
WriteCompReply(sw, "-W \"$(_ganeti_instances)\"", cur=cur) |
358 | 358 |
elif suggest == cli.OPT_COMPL_ONE_OS: |
359 | 359 |
WriteCompReply(sw, "-W \"$(_ganeti_os)\"", cur=cur) |
360 |
elif suggest == cli.OPT_COMPL_ONE_EXTSTORAGE: |
|
361 |
WriteCompReply(sw, "-W \"$(_ganeti_extstorage)\"", cur=cur) |
|
360 | 362 |
elif suggest == cli.OPT_COMPL_ONE_IALLOCATOR: |
361 | 363 |
WriteCompReply(sw, "-W \"$(_ganeti_iallocator)\"", cur=cur) |
362 | 364 |
elif suggest == cli.OPT_COMPL_ONE_NODEGROUP: |
... | ... | |
467 | 469 |
choices = "$(_ganeti_jobs)" |
468 | 470 |
elif isinstance(arg, cli.ArgOs): |
469 | 471 |
choices = "$(_ganeti_os)" |
472 |
elif isinstance(arg, cli.ArgExtStorage): |
|
473 |
choices = "$(_ganeti_extstorage)" |
|
470 | 474 |
elif isinstance(arg, cli.ArgFile): |
471 | 475 |
choices = "" |
472 | 476 |
compgenargs.append("-f") |
Also available in: Unified diff