]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: add 'exit' as an alias for 'quit'
authorEric Blake <eblake@redhat.com>
Tue, 30 Mar 2010 20:50:35 +0000 (14:50 -0600)
committerEric Blake <eblake@redhat.com>
Wed, 31 Mar 2010 14:40:06 +0000 (08:40 -0600)
commit890af4ca8fc8103b4699b2a51f97a82da68df4f6
tree0337e75d8f49bc21721a8de6ecd2c294453676af
parent3cda0eb487d9cafa89cd7595ed0d43ee2a93b8fc
virsh: add 'exit' as an alias for 'quit'

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: Document it.
tools/virsh.c
tools/virsh.pod