Re: virsh help keywords vs. command prefixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/03/2011 02:46 PM, Stefan Berger wrote:
> libvir-list-bounces@xxxxxxxxxx wrote on 01/03/2011 03:10:20 PM:
> 
>> From: Paul Jenner <psj@xxxxxxxxxxxxxxxxxx>
>> To: libvir-list@xxxxxxxxxx
>> Date: 01/03/2011 03:17 PM
>> Subject:  virsh help keywords vs. command prefixes
>> Sent by: libvir-list-bounces@xxxxxxxxxx
>>
>> Hi all.
>>
>> >From a quick play with virsh from the 0.8.7 pre-release, as an end user
>> I wonder if it may be more intuitive for the new help keywords to match
>> the virsh command prefixes where they exist. For example "help nwfilter"
>> would tell me about nwfilter- commands. Some keywords follow the prefix
>> convention (nodedev, secret, snapshot, pool) but some do not (interface
>> vs. iface-, filter vs nwfilter-, network vs. net-, volume vs. vol-).
>>
>> Minor observation and close to release but I thought I would send on
>> feedback to see what people thought.
> 
> We could introduce the 'help nwfilter' etc. as alias to the existing 
> one(s).

I've also got the (post-0.8.7) idea of teaching virsh how to do
unambiguous prefix recognition; and it wouldn't be too hard to tweak it
to recognize that if a prefix is ambiguous but all commands that share
that prefix belong to a single category, then treat it as 'help
category' instead.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]