On 02/11/2014 10:39 AM, Giuseppe Scrivano wrote: > Chen Hanxiao <chen_han_xiao@xxxxxxx> writes: > >> How about give --connect a shortcut? >> It's not so convenient if using virt-xml editing LXC domain. > > not as -c but you can avoid typing 3 characters if you use "--conn". > It is the shortest prefix that is not ambiguous with other options (if > you try typing --c, --co, --con, you will see the list of options that > starts by that). > This is actually one feature I hate of optparse: someone could have a valid command line using --conn, but if we ever added a new command line option that also started with --conn, a previously working command line would now be broken due to ambiguous arguments. I've never heard complaints about it in practice but it's something to consider. - Cole _______________________________________________ virt-tools-list mailing list virt-tools-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/virt-tools-list