Commit Graph

  • 3c317ddd2d Enable clang-tidy clang-analyzer default checks Sean Robinson 2022-02-07 14:29:32 -0700
  • 0b74da54d4 Enable clang-tidy cppcoreguidelines-special-member-functions check Sean Robinson 2022-02-07 14:29:32 -0700
  • c25a959597 Enable clang-tidy readability-static-accessed-through-instance check Sean Robinson 2022-02-07 14:29:32 -0700
  • bd4837f240 Enable clang-tidy's readability-qualified-auto check Sean Robinson 2022-02-09 15:27:16 -0700
  • b5fb663bc8 Enable clang-tidy readability-named-parameter check Sean Robinson 2022-02-07 14:29:32 -0700
  • 9eb1fe5cef Enable clang-tidy readability-magic-numbers check Sean Robinson 2022-02-07 14:29:25 -0700
  • b918763adf Enable clang-tidy readability-implicit-bool-conversion check Sean Robinson 2022-02-07 14:27:06 -0700
  • 7cbc66f65b Return default_arguments from operator& of two default_arguments Sean Robinson 2022-02-07 14:27:06 -0700
  • 6a8b1318ec Enable clang-tidy readability-container-size-empty check Sean Robinson 2022-02-07 14:27:06 -0700
  • 158b8a0d2f Enable clang-tidy readability-braces-around-statements check Sean Robinson 2022-02-07 13:10:03 -0700
  • 06f687b594
    update cmake_minimum_required to 3.12.4 Sam4uk 2022-02-07 22:09:36 +0200
  • 419648bf74
    Merge pull request #158 from skrobinson/fix-SA-runner Pranav 2022-02-07 13:04:53 -0600
  • 97204363b5 Refactor configuration for StaticAnalysis Sean Robinson 2022-02-07 11:51:22 -0700
  • 5a1b4c3068 edit CMakeLists.txt Sam4uk 2022-02-04 23:36:26 +0200
  • 79df7808d2
    Merge pull request #155 from skrobinson/fix-test-server-deprecation Pranav 2022-01-11 09:40:13 -0600
  • 736099ef3f Remove Windows Server 2016 from test matrix Sean Robinson 2021-12-09 12:17:55 -0700
  • fcfbe7141e
    Merge pull request #148 from skrobinson/feat-add-sa-pr-action Pranav 2022-01-11 09:11:10 -0600
  • 6246a9df0e Change Static Analysis trigger event to pull_request_target Sean Robinson 2022-01-11 06:48:00 -0700
  • c0bbcf613c Remove sentry check in ArgumentParser::operator<< Sean Robinson 2021-11-10 13:54:35 -0700
  • abb2206141 Declare lambda parameter and ArgumentParser::print_help as const Sean Robinson 2021-11-10 13:54:33 -0700
  • 6530a06747 Copy more members in ArgumentParser copy constructor Sean Robinson 2021-11-10 13:54:31 -0700
  • 8d8282bac3 Add Static Analysis action to run on Pull Request Sean Robinson 2021-11-10 13:54:29 -0700
  • 9a9c3042aa Add a clang-tidy configuration file Sean Robinson 2021-11-10 13:54:27 -0700
  • 18a229e849 Add a minimal binary to generate compile_commands.json file Sean Robinson 2021-11-10 13:54:25 -0700
  • 4cacdc4b30
    Merge pull request #147 from MaciejPatro/master Pranav 2021-11-09 12:44:40 -0600
  • 87afaba6ba Improve thrown message in case of invalid argument. Now message contains information which argument is the source of error. It's easier to spot typo/understand which part of more complex command is the source of problem. Maciej Patro 2021-11-05 09:56:17 +0100
  • b9583b42ab
    Merge pull request #146 from p-ranav/update_readme_stdout_to_stderr Pranav 2021-11-03 08:34:40 -0500
  • 6f1a90f101 Removed duplicate entry for Daniel Marshall Pranav Srinivas Kumar 2021-11-03 08:31:09 -0500
  • 2e25423db8 Modify README.md to show printing errors to stderr instead of stdout Ashwin Rohit 2021-10-31 12:29:19 -0700
  • 9c729f54b1
    Updated contributors Pranav 2021-10-31 17:34:51 -0500
  • 10190c89dc
    Merge pull request #144 from aashwinr/update_err Pranav 2021-10-31 17:22:32 -0500
  • 2c55a2e423 Modify README.md to show printing errors to stderr instead of stdout Ashwin Rohit 2021-10-31 12:29:19 -0700
  • b98bf25a34
    Merge pull request #142 from skrobinson/wip-deactivatable-defaults Pranav 2021-10-27 12:52:29 -0500
  • 5cceb98e3c Update "Printing Help" documentation Sean Robinson 2021-10-26 12:58:24 -0700
  • ea1f7ef663 Allow removal of default arguments (i.e. --help and --version) Sean Robinson 2021-10-26 12:58:24 -0700
  • 2b05334a3c Run Argumnet::action functor for zero-parameter arguments Sean Robinson 2021-10-26 12:58:24 -0700
  • 748bc95cf5 Rename inner scope variables to differ from outer scope Sean Robinson 2021-10-26 12:58:24 -0700
  • 58777d8c84 Replace spaces with underscores in example program names Sean Robinson 2021-10-26 12:58:24 -0700
  • 8772b37aab Update examples from exit() to std::exit() Sean Robinson 2021-10-26 12:58:24 -0700
  • c9e2958a6c
    Merge pull request #143 from skrobinson/fix-copy-misparsed Pranav 2021-10-27 10:50:47 -0500
  • 500bc9277e Add ArgumentParser::mIsParsed to copied members Sean Robinson 2021-10-27 07:24:45 -0700
  • af6bbc1d47 Skip --version test until it can be made to work Sean Robinson 2021-10-26 12:58:24 -0700
  • 14abaa47d9 Use member initializer list to SizeRange ctor Yoshihiro Hokazono 2021-09-16 07:04:56 +0900
  • bec93acaa7 Avoid use ALL_CAPS for enumerators Yoshihiro Hokazono 2021-09-16 07:00:49 +0900
  • 8845260885 Add test for reversed order nargs Yoshihiro Hokazono 2021-09-16 06:43:03 +0900
  • bb115c0419 Add test for variable nargs Yoshihiro Hokazono 2021-09-16 06:42:29 +0900
  • aae2e9347a Add another test for remaining Yoshihiro Hokazono 2021-09-16 06:42:01 +0900
  • 2cfe115dfb Change test for remaining to test for * nargs Yoshihiro Hokazono 2021-09-16 06:41:17 +0900
  • 10ddd393b6 Fix tests for remaining Yoshihiro Hokazono 2021-09-16 06:40:11 +0900
  • c99272b93d Remove negative parameter test for now unsigned Yoshihiro Hokazono 2021-09-11 07:31:00 +0900
  • 3d559d3a23 Revive remaining method Yoshihiro Hokazono 2021-09-12 03:36:05 +0900
  • c6c3be04d3 1st version of handling variable length nargs Yoshihiro Hokazono 2021-09-11 05:22:33 +0900
  • ab0a28c3bf
    Merge pull request #132 from skrobinson/feat-improve-errors Pranav 2021-09-14 15:03:48 -0500
  • f0d68de134 Confirm arguments are parsed before allowing ArgumentParser::get Sean Robinson 2021-07-22 06:45:44 -0700
  • 6344b5dcc7 Add argument name in exception thrown by Argument::consume Sean Robinson 2021-07-22 06:45:44 -0700
  • 1c2fd8726d Add argument name in exception thrown by Argument::get Sean Robinson 2021-07-22 06:45:44 -0700
  • 97993666ab Add tests for ArgumentParser::get Sean Robinson 2021-07-22 06:45:44 -0700
  • b6cedf4d56 Add test case for missing argument value Sean Robinson 2021-07-22 06:45:44 -0700
  • 67d56afef8 Add test case for missing expected positional argument Sean Robinson 2021-07-22 06:45:44 -0700
  • b33ba4fb5d
    Merge pull request #127 from hokacci/feature/flexible-get-syntax Pranav 2021-09-14 09:36:07 -0500
  • 0f392ae057
    Merge pull request #130 from skrobinson/fix-cmake-warning Pranav 2021-09-14 09:35:28 -0500
  • ffe619fe08
    Merge pull request #129 from skrobinson/wip-gh-action-pr Pranav 2021-09-14 09:35:14 -0500
  • 335e6272bd Add GitHub Action to run tests on pull request Sean Robinson 2021-09-13 14:17:19 -0700
  • 971f687a17 Kind error message Yoshihiro Hokazono 2021-09-13 07:08:37 +0900
  • 8727c132fc get("out") and get("--out") are both avaibale Yoshihiro Hokazono 2021-09-13 07:07:20 +0900
  • 2f59260e84 Add CMake project name Sean Robinson 2021-09-09 13:43:21 -0700
  • b0cb28ab17
    Merge pull request #115 from HydrArgs/cpack Pranav 2021-09-01 09:16:48 -0500
  • 8af52044cf
    Merge pull request #123 from skrobinson/rev-chars_format-update Pranav 2021-08-27 06:52:07 -0500
  • 37dc4f20ec Revert "Use std::chars_format rather than local copy" Sean Robinson 2021-08-26 06:46:50 -0700
  • 5f8879f1da
    Merge pull request #120 from skrobinson/wip-chars_format-update Pranav 2021-08-24 19:21:40 -0500
  • 4d03fc04b2
    Merge pull request #121 from skrobinson/wip-add-scan-docs Pranav 2021-08-24 19:20:04 -0500
  • a8900c2019 Replace simple type-converting Argument.action with Argument.scan in tests Sean Robinson 2021-08-24 09:25:49 -0700
  • 38a4a1a755 Replace simple type-converting Argument.action with Argument.scan in README Sean Robinson 2021-08-24 09:25:49 -0700
  • bcc1f5adea Add documentation for Argument.scan Sean Robinson 2021-08-24 09:25:49 -0700
  • 1c61082a4c Use std::chars_format rather than local copy Sean Robinson 2021-08-23 12:09:49 -0700
  • 7fad8faf8c Some cleanup in CPack packaging KOLANICH 2021-08-10 07:47:01 +0300
  • ccf3920ce2
    Merge pull request #108 from Bedzior/const-correct-argument-parser Pranav 2021-08-07 07:22:12 -0500
  • 6b1f4652ad
    Merge pull request #110 from Chuvi-w/size_t_to_std_size_t Pranav 2021-08-05 08:25:05 -0500
  • a3f164bcc7 Replace size_t to std::size_t. https://github.com/p-ranav/argparse/pull/109#issuecomment-892943775 Chuvi 2021-08-05 16:06:06 +0300
  • 801e2ef343
    Merge pull request #109 from Chuvi-w/fix_std_min_conflict Pranav 2021-08-05 07:23:43 -0500
  • 0652496435
    Use std::min type specialisation Chuvi 2021-08-04 19:43:20 +0300
  • 14fd4c6d5b Fix std::min conflict with min/max definitions from windows.h Chuvi 2021-08-04 13:54:46 +0300
  • 5841bca894 Introduce separate const-correctness test Rafal Bedzkowski 2021-08-03 22:12:05 +0200
  • 4ede429264 Const-correct ArgumentParser Rafal Bedzkowski 2021-08-02 17:21:46 +0200
  • e1ea7ec50a
    Merge pull request #107 from KOLANICH/cpack Pranav 2021-07-21 07:52:28 -0500
  • 9ba45adfe2 Added packaging using CPack and generation of pkg-config files. Fixed installation directory - the lib is architecture-independent and so CMake and pkg-config files should go into <prefix>/lib, not into <prefix>/lib/<arch> KOLANICH 2021-07-21 11:41:31 +0300
  • 64dd67c758
    Merge pull request #103 from kfsone/optional-v Pranav 2021-06-04 19:03:00 -0500
  • 38b1b8114e Allow user to limit version argument to --version Oliver 'kfsone' Smith 2021-06-04 16:48:15 -0700
  • 1344889acf
    Merge pull request #100 from skrobinson/wip-is_used-method Pranav 2021-04-07 16:58:05 -0500
  • 3efd045ea9 Add ArgumentParser.is_used to discern user-supplied values from defaults Sean Robinson 2021-04-01 15:49:10 -0700
  • 65f2ad4db2
    Merge pull request #99 from skrobinson/wip-append-method Pranav 2021-04-07 14:26:45 -0500
  • 54d3cda804 Add Argument.append method to allow repeated argument use Sean Robinson 2021-03-29 14:34:02 -0700
  • 9e9d969814
    Merge pull request #98 from skrobinson/wip-clean-ups Pranav 2021-04-07 12:37:36 -0500
  • 0fe17e22f6 Replace integers with bool value keywords Sean Robinson 2021-03-22 13:05:11 -0700
  • a711f26045 Remove trailing spaces from README lines Sean Robinson 2021-04-05 10:34:32 -0700
  • e371313b87 Update copyright dates and authors Sean Robinson 2021-04-06 11:53:19 -0700
  • 165d560b3a
    Merge pull request #97 from qoelet/qualify-iterator-functions Pranav 2021-03-25 08:55:17 -0500
  • c869f20e2b Qualify iterator functions Kenny Shen 2021-03-25 12:17:27 +0800
  • 9903a22904
    Merge pull request #93 from cekc/nicer-message-for-required Pranav 2020-12-15 15:06:25 -0600
  • ed06438faf nicer usage text for required arg Mike Zozu 2020-12-15 23:01:07 +0300