On 01/03/2011 02:46 PM, Stefan Berger wrote: > [email protected] wrote on 01/03/2011 03:10:20 PM: > >> From: Paul Jenner <[email protected]> >> To: [email protected] >> Date: 01/03/2011 03:17 PM >> Subject: [libvirt] virsh help keywords vs. command prefixes >> Sent by: [email protected] >> >> 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 [email protected] +1-801-349-2682 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
-- libvir-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/libvir-list
