From: Daniel Veillard Date: Fri, 26 Jan 2007 11:49:01 +0000 (+0000) Subject: * src/virsh.c: Richard W.M. Jones pointed out a missing option X-Git-Tag: LIBVIRT_0_2_0~45 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=079dc77af6eebbd8c693aa7930dfffa7d607a3e6;p=thirdparty%2Flibvirt.git * src/virsh.c: Richard W.M. Jones pointed out a missing option in getopt_long() Daniel --- diff --git a/ChangeLog b/ChangeLog index 1ebb6c755a..2949a8c625 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri Jan 26 12:48:13 CET 2007 Daniel Veillard + + * src/virsh.c: Richard W.M. Jones pointed out a missing option + in getopt_long() + Fri Jan 26 12:09:49 CET 2007 Daniel Veillard * autogen.sh: applied patch from Richard W.M. Jones to not diff --git a/src/virsh.c b/src/virsh.c index 469d79431d..62b864dbba 100644 --- a/src/virsh.c +++ b/src/virsh.c @@ -2606,7 +2606,7 @@ vshParseArgv(vshControl * ctl, int argc, char **argv) end = end ? : argc; /* standard (non-command) options */ - while ((arg = getopt_long(end, argv, "d:hqtv", opt, &idx)) != -1) { + while ((arg = getopt_long(end, argv, "d:hqtcv", opt, &idx)) != -1) { switch (arg) { case 'd': ctl->debug = atoi(optarg);