From 079dc77af6eebbd8c693aa7930dfffa7d607a3e6 Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Fri, 26 Jan 2007 11:49:01 +0000 Subject: [PATCH] * src/virsh.c: Richard W.M. Jones pointed out a missing option in getopt_long() Daniel --- ChangeLog | 5 +++++ src/virsh.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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); -- GitLab