Displaying 3 results from an estimated 3 matches for "_virt_v2v_copy_to_local".
Did you mean:
virt_v2v_copy_to_local
2020 Mar 10
1
[v2v PATCH] bash: remove extra registrations
...ot, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-_guestfs_options_only ()
+_v2v_options_only ()
{
local cur prev words cword split
local shortopts longopts tool="$1"
@@ -42,18 +42,6 @@ _guestfs_options_only ()
_virt_v2v_copy_to_local ()
{
- _guestfs_options_only "virt-v2v-copy-to-local"
+ _v2v_options_only "virt-v2v-copy-to-local"
} &&
complete -o default -F _virt_v2v_copy_to_local virt-v2v-copy-to-local
-
-_virt_win_reg ()
-{
- _guestfs_options_only "virt-win-reg"
-} &&...
2017 Mar 24
1
[PATCH] bash: Implement tab completion for virt-win-reg (RHBZ#1367738).
...ocal b/bash/virt-v2v-copy-to-local
index 4442da2..1296f26 100644
--- a/bash/virt-v2v-copy-to-local
+++ b/bash/virt-v2v-copy-to-local
@@ -15,28 +15,39 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-_virt_v2v_copy_to_local ()
+_guestfs_options_only ()
{
local cur prev words cword split
- local shortopts longopts items
+ local shortopts longopts tool="$1"
_init_completion -s || return
case "$cur" in
--*)
# --options
- longopts="$(virt-...
2017 Mar 22
2
[PATCH] bash: Add a bash completion script for virt-v2v-copy-to-local (RHBZ#1367738).
...R A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+_virt_v2v_copy_to_local ()
+{
+ local cur prev words cword split
+ local shortopts longopts items
+
+ _init_completion -s || return
+
+ case "$cur" in
+ --*)
+ # --options
+ longopts="$(virt-v2v-copy-to-local --long-options)"
+ COMPREPLY=( $(compgen -...