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
01 Oct, 2020
3 commits
  • Update version for 3
    703eeef9
    Jarryd Beck authored
    2020-10-01 17:14:39 +1000  
    Browse Code »
  • Prepare notes for v3
    31b77f11
    Jarryd Beck authored
    2020-10-01 17:14:39 +1000  
    Browse Code »
  • Refactor parser ...
    fedf9d7b
    Major refactor of the parsing code organisation to improve encapsulation
    and not modify the input arguments. The returned result no longer has
    pointers into the original option specification.
    Jarryd Beck authored
    2020-10-01 17:12:03 +1000  
    Browse Code »

15 Sep, 2020
1 commit
  • Fix compiler warning C4702 for MSVC-14 (#225) ...
    fd5cdfd5
    * Fix compiler warning C4702  for MSVC-14
    Daniel Gomez Antonio authored
    2020-09-15 10:07:53 +1000  
    Browse Code »

19 Aug, 2020
1 commit
  • Fixed installation on other than Ubuntu GNU/Linux distributions. (#226) ...
    584e0c3d
    Fixes the installation paths by using cmake variables.
    Vitaly Zaitsev authored
    2020-08-19 09:16:11 +1000  
    Browse Code »

12 Aug, 2020
1 commit
  • Adding bazel build targets (#251) ...
    05ca8e1c
    Adding support for the bazel build system
    silvergasp authored
    2020-08-12 08:48:07 +1000  
    Browse Code »

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 Code »

28 Jul, 2020
1 commit
  • [clang-tidy] use nodiscard (#234) ...
    07f5cb24
    Found with modernize-use-nodiscard
    
    Signed-off-by: Rosen Penev <rosenp@gmail.com>
    Rosen Penev authored
    2020-07-28 15:40:16 +1000  
    Browse Code »

23 Jul, 2020
2 commits
  • Fixes #245: Mention the option name when throwing on "no value" (#246) ...
    5f43f4cb
    * Fixes #245:
    
    * Added a new exception type: `option_has_no_value_exception`; throwing it when an option has no value we can cast with `as()`, instead of an `std::domain_error`.
    * The `OptionValue` type now holds a pointer to the long option name (in its corresponding key within ParseResults's `m_results` field.
    Eyal Rozenberg authored
    2020-07-23 17:27:04 +1000  
    Browse Code »
  • Regards #244: Explain how vectors of values allow repeated use of the same optio… ...
    1b660d56
    …n on the command-line. (#247)
    
    Eyal Rozenberg authored
    2020-07-23 16:36:54 +1000  
    Browse Code »

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 Code »

29 May, 2020
1 commit
  • Exit instead of abort (#233) ...
    794c9752
    Uses std::exit instead of abort to terminate when exceptions are disabled.
    Daniel Lemire authored
    2020-05-29 08:30:35 +1000  
    Browse Code »

12 May, 2020
1 commit
  • clang-tidy fixes (#231)
    12bc8d78
    Rosen Penev authored
    2020-05-12 14:59:47 +1000  
    Browse Code »

14 Feb, 2020
1 commit
  • Code highlighting, add more examples (#220)
    b0f67a06
    Tomas Barton authored
    2020-02-14 08:02:27 +1100  
    Browse Code »

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 Code »

08 Jan, 2020
1 commit
  • Fix assertion failure (issue #217) (#218)
    943cdcfb
    Felix Esch authored
    2020-01-08 17:14:46 +1100  
    Browse Code »

28 Nov, 2019
2 commits
  • Fix conversion warning in test
    23f56e26
    Jarryd Beck authored
    2019-11-28 08:32:54 +1100  
    Browse Code »
  • Fix -Wconversion warnings with GCC9 (#214)
    9457b3de
    Florin Iucha authored
    2019-11-28 08:30:23 +1100  
    Browse Code »

14 Oct, 2019
1 commit
  • Fixed empty default showing nothing in help (#205)
    073dd3e6
    Abhay Raj Singh authored
    2019-10-14 18:08:11 +1100  
    Browse Code »

23 Aug, 2019
2 commits
  • 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 Code »
  • Improve README about supported compilers ...
    f4f4ece8
    Fixes #202.
    Jarryd Beck authored
    2019-08-23 08:16:22 +1000  
    Browse Code »

08 Aug, 2019
3 commits
  • Add to changelog
    cb60381e
    Jarryd Beck authored
    2019-08-08 08:27:14 +1000  
    Browse Code »
  • Fix: Make CXXOPTS_NO_EXCEPTIONS compilable and print messages (#196) ...
    34784b01
    Fix CXXOPTS_NO_EXCEPTIONS so that it doesn't warn about unused parameters, and print out error messages.
    charlydelta authored
    2019-08-08 08:25:34 +1000  
    Browse Code »
  • Fix duplicate default option ...
    fce82fb0
    Fixes #197. Don't parse default options twice when there is a short and
    long option.
    Jarryd Beck authored
    2019-08-08 08:21:52 +1000  
    Browse Code »

01 Aug, 2019
4 commits
  • Add CMake option CXXOPTS_ENABLE_INSTALL (#195) ...
    6e31c227
    Install targets will not be generated if this option is set to OFF,
    which is useful when including it as a bundled dependency of
    another project.
    Anders authored
    2019-08-01 17:51:01 +1000  
    Browse Code »
  • Define alias target cxxopts::cxxopts (#194)
    531c00b9
    Anders authored
    2019-08-01 17:50:05 +1000  
    Browse Code »
  • Add to Changelog
    0d4bb287
    Jarryd Beck authored
    2019-08-01 08:29:40 +1000  
    Browse Code »
  • Allow disabling exceptions and use std::abort instead (#190)
    37e7220f
    charlydelta authored
    2019-08-01 08:19:59 +1000  
    Browse Code »

31 Jul, 2019
1 commit
  • CMake: search only for C++ compiler (#192) ...
    c19e2677
    This speeds up the CMake configuration step by not searching for a C
    compiler. By default, CMake looks for C and C++ compilers, unless a set
    of compilation languages is specified.
    avemilia authored
    2019-07-31 18:15:58 +1000  
    Browse Code »

28 Jun, 2019
1 commit
  • add_options variant with initializer list (#189) ...
    3c73d91c
    Allow adding options with a single initializer list.
    Bartek authored
    2019-06-28 08:39:37 +1000  
    Browse Code »

18 Jun, 2019
6 commits
  • Add to changelog for #170
    e6858d34
    Jarryd Beck authored
    2019-06-18 18:17:24 +1000  
    Browse Code »
  • Remove check for container when generating help message. (#170) ...
    99100957
    Some positional parameters would be listed in the help text and others
    would not, when what is desired is that no positional parameters are
    listed with the other command options. This change suppresses the help
    listing for all positional parameters.
    linus-sherrill authored
    2019-06-18 18:16:31 +1000  
    Browse Code »
  • Add to changelog
    9064fdf4
    Jarryd Beck authored
    2019-06-18 18:00:16 +1000  
    Browse Code »
  • Add a method to remove the implicit value of an option (#178)
    6b6af4f5
    Jean-Baptiste Bayle authored
    2019-06-18 17:49:15 +1000  
    Browse Code »
  • Add to changelog for #182
    4f3fda4b
    Jarryd Beck authored
    2019-06-18 08:17:26 +1000  
    Browse Code »
  • 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 Code »

14 Jun, 2019
3 commits
  • Remove unused variable
    1eca210e
    Jarryd Beck authored
    2019-06-14 18:28:04 +1000  
    Browse Code »
  • Fix integer parsing again
    e17c6b08
    Jarryd Beck authored
    2019-06-14 18:20:22 +1000  
    Browse Code »
  • Fix a couple of out of range errors ...
    3e5ecf1d
    These were detected using -fsanitize=undefined parsing values equal to
    INT_MAX and INT_MIN.
    Jarryd Beck authored
    2019-06-14 08:12:29 +1000  
    Browse Code »

28 May, 2019
1 commit
  • Parse 0 and 1 into booleans (#177) ...
    bd205738
    * Parse 1 as "true" and 0 as "false" for boolean options.
    Jean-Baptiste Bayle authored
    2019-05-28 17:25:54 +1000  
    Browse Code »