Re: [libvirt] [PATCH] virsh: add 'exit' as an alias for 'quit'

2010-03-31 Thread Eric Blake
On 03/31/2010 02:18 AM, Daniel Veillard wrote: > On Tue, Mar 30, 2010 at 02:55:09PM -0600, Eric Blake wrote: >> Call me lazy: some shells use exit (e.g. sh), others use quit (e.g. ftp), >> but I never remember which. So it's faster to write a patch to make >> virsh take both than it is to take a 5

Re: [libvirt] [PATCH] virsh: add 'exit' as an alias for 'quit'

2010-03-31 Thread Daniel Veillard
On Tue, Mar 30, 2010 at 02:55:09PM -0600, Eric Blake wrote: > Call me lazy: some shells use exit (e.g. sh), others use quit (e.g. ftp), > but I never remember which. So it's faster to write a patch to make > virsh take both than it is to take a 50-50 guess, and get it wrong > in half of my attempt

[libvirt] [PATCH] virsh: add 'exit' as an alias for 'quit'

2010-03-30 Thread Eric Blake
Call me lazy: some shells use exit (e.g. sh), others use quit (e.g. ftp), but I never remember which. So it's faster to write a patch to make virsh take both than it is to take a 50-50 guess, and get it wrong in half of my attempts. * tools/virsh.c (commands): Add 'exit'. * tools/virsh.pod: Docum