]> git.ipfire.org Git - thirdparty/libvirt.git/commit
vsh: Make the only argument of 'connect', 'cd', and 'help' commands positional
authorPeter Krempa <pkrempa@redhat.com>
Thu, 14 Mar 2024 15:58:40 +0000 (16:58 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 2 Apr 2024 12:24:29 +0000 (14:24 +0200)
commit0ce337b20ccee09f124590f439107c73cd9d2715
treec31a57b08e0478ca932f2dcc2b28f429af39400c
parentfc7934695d24ced6b7b5de5042b88bb001ab9eb8
vsh: Make the only argument of 'connect', 'cd', and 'help' commands positional

The intended use of those commands is to use the argument directly
without the flag. Since the argument is optional in all cases we
couldn't declare them as positional until now.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tools/virsh.c
tools/virt-admin.c
tools/vsh.c