Logo white

Peter M. Groen / cxxopts

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • Commits 382
  • Compare
  • Branches 1
  • Tags 0
  • cxxopts
  • src
  • example.cpp
03 May, 2022
1 commit
  • Add unmatched arguments to example ...
    f0f465b2
    Ref #242. Adds an example in the example file showing the unmatched
    arguments that are stored.
    Jarryd Beck authored
    2022-05-03 06:21:12 +1000  
    Browse File »

09 Nov, 2021
1 commit
  • Add iterator (#126) and easily print-out (#223) to ParseResult (#313) ...
    ad2d1a6b
    * Add iterator (#126) and easily print-out (#223) to ParseResult
    Long Deng authored
    2021-11-09 18:49:58 +1100  
    Browse File »

15 Feb, 2021
1 commit
  • Rename variable, add to example
    aaa5e790
    Jarryd Beck authored
    2021-02-15 08:34:46 +1100  
    Browse File »

11 Aug, 2020
1 commit
  • Support 'const char**' arguments in Options::parse (#250) ...
    15e8a74e
    `cxxopts` doesn't modify the contents of the argv strings. This changes
    the parse function to take a reference to a `const char**`.
    Kjetil Andresen authored
    2020-08-11 08:01:29 +1000  
    Browse File »

04 Jun, 2020
1 commit
  • Improve help of short-only options (remove dangling comma) (#235)
    9a454c8e
    Akos Kiss authored
    2020-06-04 13:21:51 +1000  
    Browse File »

17 Jan, 2020
1 commit
  • Don't return parse result ...
    6fa46a74
    Fixes #219. The example was wrong as ParseResult can't be returned out
    of scope of the options parser.
    Jarryd Beck authored
    2020-01-17 08:03:57 +1100  
    Browse File »

23 Aug, 2019
1 commit
  • Fix parsing char type ...
    4a0af0e9
    Fixes #201. Parse char type correctly and check for length.
    Jarryd Beck authored
    2019-08-23 08:26:16 +1000  
    Browse File »

18 Jun, 2019
1 commit
  • Fix parsing of std::vector and add test, example and documentation (#182) ...
    7b14d5f6
    Improve parsing into std::vector so that a single argument can take a list.
    Christian Lang authored
    2019-06-18 08:14:18 +1000  
    Browse File »

08 Nov, 2018
1 commit
  • Use a shared pointer for the options map ...
    c713b44d
    Fixes #132. Since the map of options is shared between Options and
    ParseResult, they should use a shared pointer instead of a reference so
    that ParseResult can be returned without referencing destroyed memory.
    Jarryd Beck authored
    2018-11-08 18:22:42 +1100  
    Browse File »

12 Apr, 2018
1 commit
  • Allow unrecognised options. (#105) ...
    ca6e9f70
    Allows unrecognised options to be left alone by the parser without throwing an exception.
    Frank Schoenmann authored
    2018-04-12 08:15:07 +1000  
    Browse File »

10 Apr, 2018
1 commit
  • Revert "Added const to argv type for better interoperability. (#99)" ...
    cc4914f0
    This reverts commit 0f819a5cabb611ada4c41a5208c6bf1178f804be.
    Jarryd Beck authored
    2018-04-10 08:48:08 +1000  
    Browse File »

09 Mar, 2018
1 commit
  • Added const to argv type for better interoperability. (#99) ...
    0f819a5c
    * Added const to argv type for better interoperability.
    Jesús González authored
    2018-03-09 08:07:29 +1100  
    Browse File »

08 Mar, 2018
1 commit
  • Don't show default when boolean false ...
    e40645e0
    Fixes #102. Don't show the default value when it is a boolean and the
    value is false. Note that this is a bit of a hack and the
    implementation should probably be reevaluated in the future.
    Jarryd Beck authored
    2018-03-08 08:53:26 +1100  
    Browse File »

13 Nov, 2017
1 commit
  • Allow positional arguments to show in help ...
    24450d18
    Fixes #72. This adds an option for positional arguments to be
    shown in the help output.
    Jarryd Beck authored
    2017-11-13 18:47:12 +1100  
    Browse File »

18 Oct, 2017
1 commit
  • Move parse result to an immutable object ...
    8010e069
    This is far from ideal, but it's the first step in moving the parse
    result to an immutable object so that the parser can be reused.
    Jarryd Beck authored
    2017-10-18 18:37:58 +1100  
    Browse File »

16 Aug, 2017
1 commit
  • Added parsing of general types. (#63) ...
    2aed1ce4
    Adds generic parsing of types using `operator>>`, in particular allows
    parsing of floats and doubles.
    Hannah Rittich authored
    2017-08-16 17:55:06 +1000  
    Browse File »

16 Jul, 2017
1 commit
  • Allow spaces in option specification. (#58) ...
    f931fd42
    Fixes #57.
    
    Allows spaces after the comma between the short and long option
    specification.
    Shivakar Vulli authored
    2017-07-16 15:11:03 +1000  
    Browse File »

26 Apr, 2017
1 commit
  • add help for positional parameters
    3c3d2003
    Jarryd Beck authored
    2017-04-26 18:16:00 +1000  
    Browse File »

22 Jan, 2016
1 commit
  • count arguments
    81f1f440
    Jarryd Beck authored
    2016-01-22 17:44:00 +1100  
    Browse File »

25 Sep, 2015
1 commit
  • positional arguments parse into multiple options
    b2e7efe7
    Jarryd Beck authored
    2015-09-25 16:49:06 +1000  
    Browse File »

29 Oct, 2014
3 commits
  • Enhance example
    e09bb905
    Baptiste Wicht authored
    2014-10-29 16:59:57 +0100  
    Browse File »
  • Merge branch 'master' into default_values ...
    9a2749f6
    Conflicts:
    	src/cxxopts.hpp
    	src/example.cpp
    Baptiste Wicht authored
    2014-10-29 16:42:59 +0100  
    Browse File »
  • custom argument help
    1a558d76
    Jarryd Beck authored
    2014-10-29 12:35:05 +1100  
    Browse File »

27 Oct, 2014
5 commits
  • Merge branch 'master' into default_values ...
    387e51dc
    Conflicts:
    	src/cxxopts.hpp
    Baptiste Wicht authored
    2014-10-27 19:09:41 +0100  
    Browse File »
  • unicode configuration
    8d7c4ea4
    Jarryd Beck authored
    2014-10-27 22:06:24 +1100  
    Browse File »
  • better help example
    8234766b
    Jarryd Beck authored
    2014-10-27 16:47:21 +1100  
    Browse File »
  • unicode help
    3707c91a
    Jarryd Beck authored
    2014-10-27 16:46:16 +1100  
    Browse File »
  • more icu::UnicodeString
    9d1a4dfc
    Jarryd Beck authored
    2014-10-27 15:20:12 +1100  
    Browse File »

26 Oct, 2014
3 commits
  • Add support for implicit values
    456ea951
    Baptiste Wicht authored
    2014-10-26 22:05:24 +0100  
    Browse File »
  • Make the model more powerful
    b343ad98
    Baptiste Wicht authored
    2014-10-26 21:31:16 +0100  
    Browse File »
  • Add basic support for default options
    22ab9836
    Baptiste Wicht authored
    2014-10-26 21:01:18 +0100  
    Browse File »

17 Oct, 2014
1 commit
  • help string
    3f1220e3
    Jarryd Beck authored
    2014-10-17 11:59:40 +1100  
    Browse File »

14 Oct, 2014
4 commits
  • parse groups
    1d9ae57a
    Jarryd Beck authored
    2014-10-14 16:59:54 +1100  
    Browse File »
  • parse into value
    239525bc
    Jarryd Beck authored
    2014-10-14 16:59:25 +1100  
    Browse File »
  • print usage
    c8b22d11
    Jarryd Beck authored
    2014-10-14 13:29:30 +1100  
    Browse File »
  • test long option names
    fd3d4bb2
    Jarryd Beck authored
    2014-10-14 10:39:03 +1100  
    Browse File »

13 Oct, 2014
4 commits
  • exception on parse error
    18ad3b16
    Jarryd Beck authored
    2014-10-13 20:52:06 +1100  
    Browse File »
  • fix description formatting
    abf96da6
    Jarryd Beck authored
    2014-10-13 15:58:17 +1100  
    Browse File »
  • format help description
    2e4c7880
    Jarryd Beck authored
    2014-10-13 14:30:56 +1100  
    Browse File »
  • update message
    4f8ded2a
    Jarryd Beck authored
    2014-10-13 09:20:04 +1100  
    Browse File »