[lxc-devel] [lxd/master] bash completion for 'lxc network info'
sjemens on Github
lxc-bot at linuxcontainers.org
Thu Aug 23 09:04:10 UTC 2018
A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 403 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20180823/f7ebc777/attachment.bin>
-------------- next part --------------
From f8ae6f2fe4f4428cbb1cc7d444e7bd6b3f1c005c Mon Sep 17 00:00:00 2001
From: Asterios Dimitriou <asterios at pci.gr>
Date: Thu, 23 Aug 2018 08:52:33 +0000
Subject: [PATCH] bash completion for 'lxc network info'
Signed-off-by: Asterios Dimitriou <asterios at pci.gr>
---
scripts/bash/lxd-client | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/bash/lxd-client b/scripts/bash/lxd-client
index e279c3d3be..0657c74bcf 100644
--- a/scripts/bash/lxd-client
+++ b/scripts/bash/lxd-client
@@ -203,11 +203,11 @@ _have lxc && {
"network")
case $pos in
2)
- COMPREPLY=( $(compgen -W "list show create get set unset delete edit rename attach attach-profile detach detach-profile" -- $cur) )
+ COMPREPLY=( $(compgen -W "list show create get set unset delete edit rename attach attach-profile detach detach-profile info" -- $cur) )
;;
3)
case ${no_dashargs[2]} in
- "show"|"get"|"set"|"unset"|"delete"|"edit"|"rename"|"attach"|"attach-profile"|"detach"|"detach-profile")
+ "show"|"get"|"set"|"unset"|"delete"|"edit"|"rename"|"attach"|"attach-profile"|"detach"|"detach-profile"|"info")
_lxd_networks
;;
esac
More information about the lxc-devel
mailing list