Commit Graph

29 Commits

Author SHA1 Message Date
Hideyuki Tanaka
e4cd007fb8 Create LICENSE 2014-02-04 18:04:51 +09:00
Hideyuki Tanaka
4c821eb068 Merge pull request #2 from nanoant/expose-def-value
expose default_value stringifier
2012-10-22 05:24:38 -07:00
Adam Strzelecki
a68095a65c expose default_value stringifier
Allows overriding cmdline::detail::default_value to provide own default value string such as "auto" or "none", for certain values.
2012-10-22 12:23:16 +02:00
Hideyuki Tanaka
4dfb5d6c94 Merge pull request #1 from yuttie/master
oneof_reader::operator() is searching alt for an input string `s'.
2012-07-05 07:20:35 -07:00
Yuta Taniguchi
ffe057713a Fix oneof_reader trying to compare std::string and T values. 2012-07-05 16:46:10 +09:00
Hideyuki Tanaka
eac9ebe266 Added missing inline. Thanks to repeatedly! 2012-04-25 20:15:04 +09:00
Hideyuki Tanaka
68d028535f fix document 2011-04-27 20:01:42 +09:00
Hideyuki Tanaka
d3bb27eb8c add doc. 2011-04-15 04:06:07 +09:00
Hideyuki Tanaka
030b2dacc6 improve document. 2011-04-15 04:00:00 +09:00
Hideyuki Tanaka
dc085b7715 add parse_check() 2011-04-15 02:56:26 +09:00
Hideyuki Tanaka
7914152f6b fix indent 2011-04-15 02:39:33 +09:00
tanakh
92555fc050 add const to cmdline::exist() 2010-07-27 14:41:33 +09:00
tanakh
e5aa3da6d5 long option without '=' is allowed 2010-06-17 14:29:47 +09:00
tanakh
98bb6e28f6 Merge branch 'master' of git@github.com:tanakh/cmdline 2010-05-07 20:43:04 +09:00
tanakh
e869ba40eb replace malloc.h to cstdlib 2010-05-07 20:42:11 +09:00
tanakh
edd33a6fee remove malloc.h 2010-05-07 20:35:16 +09:00
Hideyuki Tanaka
0996ff09d0 add overload of parser::parse() 2010-02-23 01:08:44 +09:00
Hideyuki Tanaka
8693d9e10a fix typo 2010-02-22 21:10:43 +09:00
Hideyuki Tanaka
53b35f8a6c remove japanese 2009-10-23 19:14:02 +09:00
Hideyuki Tanaka
bdd4426815 add space to description of default value 2009-10-23 19:11:58 +09:00
Hideyuki Tanaka
5e6f38c548 show must option in first line of usage 2009-10-23 19:05:53 +09:00
Hideyuki Tanaka
e0903179d4 add set_program_name method 2009-10-23 18:50:22 +09:00
Hideyuki Tanaka
0bac502d09 refactoring 2009-10-23 16:09:47 +09:00
Hideyuki Tanaka
b177d663d0 fix short option always eat next argument 2009-10-23 15:02:46 +09:00
Hideyuki Tanaka
a27c759a73 change error() and add error_full() 2009-10-23 14:58:36 +09:00
Hideyuki Tanaka
d0aff643b8 add lincence to test program 2009-10-23 02:06:02 +09:00
Hideyuki Tanaka
358f779672 generalize reader 2009-10-23 02:05:13 +09:00
Hideyuki Tanaka
b59892ddc0 initial version 2009-10-23 00:44:07 +09:00
Hideyuki Tanaka
32a46885d7 first commit 2009-10-23 00:42:16 +09:00