« Previous | Next » 

Revision 580ef58d

ID580ef58d723fa359e477f675ea5ca40abaf3d9b4

Added by Michael Hanselmann about 13 years ago

Bash completion: Small optimizations

$2 doesn't contain the correct value when completing something like
"--disk-template=…". Getting it via COMP_WORDS is better.

Short options (e.g. -I) can't have an equal sign.

Also add useful debugging commands for development.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Olivier Tharan <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences