Make parse_options work with everything: cmd line, config files, values with spaces, op val, op=val, etc.

This commit is contained in:
Daniel Nichter
2012-01-23 10:30:42 -07:00
parent 65a3ab5157
commit 0d348ce289
5 changed files with 89 additions and 15 deletions

View File

@@ -1,5 +1,5 @@
--string-opt=abc
--typeless-option
string-opt=abc
typeless-option
--
--host=127.1
--user=daniel

View File

@@ -1 +1,5 @@
--string-opt "hello world"
# Line comment.
string-opt=hello world
int-opt = 100 # Inline comment.