commit | 38298ec0b45661d2969fc75c6cb47e0863755792 | [log] [tgz] |
---|---|---|
author | Bryce Harrington <bryce@osg.samsung.com> | Thu Feb 11 15:25:56 2016 -0800 |
committer | Bryce Harrington <bryce@osg.samsung.com> | Tue Mar 08 16:32:16 2016 -0800 |
tree | 7fd8d8ccfa50f64a7c0b14a8c36f72fcdcd0cf0b | |
parent | 66e1614122c22d455cc3a28db08b3afac2b7be29 [diff] |
option-parser: Handle short double-arg options weston allows both short and long style options to take arguments. In the case of short options, allow an optional space between the option name and value. E.g., previously you could launch weston this way: weston -i2 -cmyconfig.ini now you can also launch it like this: weston -i 2 -c myconfig.ini Signed-off-by: Bryce Harrington <bryce@osg.samsung.com>