aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxl/bash-completion
Commit message (Collapse)AuthorAgeFilesLines
* libxl: remove shebang from bash_completion helperOlaf Hering2012-02-071-1/+0
| | | | | | | | | | | Fix rpmlint warning: xen-tools.x86_64: W: sourced-script-with-shebang /etc/bash_completion.d/xl.sh /bin/bash This text file contains a shebang, but is meant to be sourced, not executed. Signed-off-by: Olaf Hering <olaf@aepfle.de> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
* xl: wrap help output if command name is too longIan Campbell2011-10-061-1/+1
| | | | | | | | | | | | | | | | | Without this in the "xl help" line for pci-list-assignable-devices the command name merges with the first word of the help. Since the bash completion support parses "xl help" this leads to "pci-list-assignable-devicesList" being presented as an option instead of the correct command name. We also need to filter out lines which start with more than one space in the bash completion support to stop "List" appearing as a possible command name after the change to wrap it. Doesn't address the fact that some help text overflows 80 columns. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
* libxl: clean up trailing whitespaces in code.Wei Liu2011-07-191-1/+1
| | | | | | | | | Commit exactly the results of running find \! -iname '*.txt' -type f -print0 | xargs -0 perl -p -i.bak -E 's/\s+\n/\n/' Signed-off-by: Wei Liu <liuw@liuw.name> Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed: Ian Jackson <ian.jackson@eu.citrix.com>
* Bash completion scripts go to /etc/bash_completion.d/Keir Fraser2010-06-041-1/+1
| | | | Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* xl: fix bash completionKeir Fraser2010-05-061-1/+1
| | | | | | | | Changeset 21263:9a12204ac0e4 changes the output format of "xl help" which bash completion use, so update bash completion to compatible with this. Signed-off-by: Yang Hongyang <yanghy@cn.fujitsu.com>
* xl: Add basic bash completion for xl command.Keir Fraser2010-05-041-0/+21
Signed-off-by: Yang Hongyang <yanghy@cn.fujitsu.com>