From: Jan Kiszka <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>
---
tools/jailhouse-completion.bash | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/tools/jailhouse-completion.bash b/tools/jailhouse-completion.bash
index 3c5949f..32d6ba4 100644
--- a/tools/jailhouse-completion.bash
+++ b/tools/jailhouse-completion.bash
@@ -300,7 +300,7 @@ function _jailhouse() {
local command command_cell command_config cur prev subcommand
# first level
- command="enable disable cell config hardware --help"
+ command="enable disable console cell config hardware --help"
# second level
command_cell="create load start shutdown destroy linux list stats"
@@ -331,6 +331,12 @@ function _jailhouse() {
# a root-cell configuration
_filedir "cell"
;;
+ console)
+ if [[ "$cur" == -* ]]; then
+ COMPREPLY=( $( compgen -W "-f --follow" -- \
+ "${cur}") )
+ fi
+ ;;
cell)
# one of the following subcommands
COMPREPLY=( $( compgen -W "${command_cell}" -- \
--
You received this message because you are subscribed to the Google Groups
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.