Martin Kletzander
6beb173df7
virsh: Enforce proper ordering of options
...
Even though vshCmddefOptParse() tried returning -1 if there was an
optional option specification that preceded a required one, it failed to
check that for boolean type options and options with VSH_OFLAG_REQ_OPT
flag set. On the other hand, it makes sense that VSH_OT_ARGV is
specified at the end of the option list.
Returning -1 enforces the proper ordering thanks to virsh-synopsis test
in 'make check'.
Signed-off-by: Martin Kletzander <mkletzan@redhat.com >
2014-11-13 15:44:23 +01:00
..
2014-07-16 12:07:24 +02:00
2009-09-21 14:41:45 +01:00
2009-09-21 14:41:45 +01:00
2009-09-21 14:41:45 +01:00
2009-09-21 14:41:45 +01:00
2012-12-11 19:54:37 -05:00
2014-09-23 14:35:43 -06:00
2014-07-25 12:06:07 +02:00
2012-03-05 13:18:24 +01:00
2014-04-01 10:38:14 -06:00
2009-09-21 14:41:45 +01:00
2014-10-29 09:55:09 -06:00
2013-09-03 14:06:11 +02:00
2014-11-03 16:43:23 +01:00
2012-09-20 16:30:55 -06:00
2014-11-13 15:44:23 +01:00
2014-08-26 22:48:05 +02:00
2014-09-11 08:03:37 -04:00
2014-11-11 11:05:43 +01:00
2012-09-20 16:30:55 -06:00
2014-09-11 08:03:37 -04:00
2014-03-10 14:26:04 +01:00
2014-11-06 15:13:55 +01:00
2014-03-10 14:26:04 +01:00
2014-06-02 18:09:09 +02:00
2012-09-20 16:30:55 -06:00
2014-09-11 08:03:37 -04:00
2012-09-20 16:30:55 -06:00
2014-11-13 15:44:23 +01:00
2012-09-20 16:30:55 -06:00
2014-05-16 00:22:18 -06:00
2012-09-20 16:30:55 -06:00
2014-09-11 08:03:37 -04:00
2012-09-20 16:30:55 -06:00
2014-11-13 15:44:23 +01:00
2012-09-20 16:30:55 -06:00
2014-11-13 15:44:23 +01:00
2014-09-05 13:13:23 -06:00
2014-11-10 17:19:25 +01:00
2014-10-29 09:55:09 -06:00
2014-10-01 16:39:01 +02:00
2012-09-20 16:30:55 -06:00
2012-09-20 16:30:55 -06:00
2012-09-20 16:30:55 -06:00
2012-09-20 16:30:55 -06:00
2014-03-10 14:26:04 +01:00
2014-09-15 10:44:27 -04:00
2013-08-08 16:36:31 +01:00
2014-03-03 12:40:32 -07:00
2013-08-19 20:25:53 -06:00
2013-08-28 13:50:10 +02:00
2013-09-13 14:57:52 +02:00