On Fri, Aug 10, 2012 at 03:13:42PM +0200, Christophe Fergeau wrote: > Now that we have 2 distinct binaries, remote-viewer and virt-viewer, > 'PACKAGE' can no longer be used in error messages as the name of the > binary. This cause a small inconsistency when running > 'remote-viewer --foobar' as the error message would be: > 'Unknown option --foobar > Run 'virt-viewer --help' to see a full list of available command line options' > > This commit makes sure we use argv[0] for this message. > Fixes rhbz#814150 > --- > src/remote-viewer-main.c | 9 +++++---- > src/virt-viewer-main.c | 13 ++++++++++--- > 2 files changed, 15 insertions(+), 7 deletions(-) ACK Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|