Guannan Ren
dd71fa110a
virsh: distinguish errors between missing argument and wrong option
...
Specifying ':' to suppress the error messages printed by getopt().
Then, distinguish the two types of errors.
Before:
# virsh -c
virsh: option requires an argument -- 'c'
error: unsupported option '-?'. See --help.
After:
# virsh -c
error: option '-c' requires an argument
# virsh -x
error: unsupported option '-x'. See --help.
2013-02-20 10:14:25 +08:00
..
2013-02-08 09:12:11 +01:00
2012-12-07 14:21:25 +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
2009-09-21 14:41:45 +01:00
2012-12-11 19:54:37 -05:00
2012-12-11 19:54:37 -05:00
2012-12-11 19:54:37 -05:00
2012-03-05 13:18:24 +01:00
2013-01-29 13:23:19 +01:00
2009-09-21 14:41:45 +01:00
2013-02-12 17:50:21 +01:00
2012-09-20 16:30:55 -06:00
2013-02-12 17:50:21 +01:00
2012-09-20 16:30:55 -06:00
2012-11-02 13:36:49 +00:00
2013-02-12 17:50:21 +01:00
2012-09-20 16:30:55 -06:00
2013-02-12 17:50:21 +01:00
2012-09-20 16:30:55 -06:00
2013-02-12 17:50:22 +01:00
2012-09-20 16:30:55 -06:00
2013-02-12 17:50:22 +01:00
2012-09-20 16:30:55 -06:00
2013-02-12 17:50:22 +01:00
2012-09-20 16:30:55 -06:00
2013-02-12 17:50:22 +01:00
2012-09-20 16:30:55 -06:00
2013-02-12 17:50:22 +01:00
2012-09-20 16:30:55 -06:00
2013-02-12 17:50:22 +01:00
2012-09-20 16:30:55 -06:00
2013-02-12 17:50:22 +01:00
2012-09-20 16:30:55 -06:00
2013-02-20 10:14:25 +08:00
2013-02-04 14:17:39 +01:00
2013-02-12 00:23:57 +08:00
2012-12-21 11:19:49 +00: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
2012-09-20 16:30:55 -06:00
2012-09-20 16:30:55 -06:00
2013-01-07 08:56:36 -07:00
2013-01-07 08:56:36 -07:00
2013-01-07 08:56:36 -07:00