That works; I had the following which used to work

function get_option_list
{
    # get the options for a choice
    local option=$1;
    # assume options are specified as [--option1 | --option2 | ...]
    OPTIONS=$(${VIRSH} --help ${option} 2> /dev/null | grep '|' | sed -e
's/.*\[\(.*\)\]/\1/g;s/|//g')
}

which would do completion on the arguments for a command.  However, it's now
gone up the spout with the new release

Thanks
Geoff

2009/10/6 Chuck Short <chuck.sh...@canonical.com>

> What if you just do the following virsh --help?
>
> Regards
> chuck
>
> ** Changed in: libvirt (Ubuntu)
>       Status: New => Incomplete
>
> --
> virsh --help {option} no longer works in shell
> https://bugs.launchpad.net/bugs/400404
> You received this bug notification because you are a direct subscriber
> of the bug.
>


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Geoff Low

187 Radstock Way
Merstham
Surrey
UK
RH1 3NQ

Ph: 01737817798
Mb: 07817754159
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

-- 
virsh --help {option} no longer works in shell
https://bugs.launchpad.net/bugs/400404
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to