Commit Graph

  • a9bc1c9a4a Closes #28 Pranav Srinivas Kumar 2019-08-17 17:56:29 -0500
  • cb04248cfa Updated formatting Pranav Srinivas Kumar 2019-08-17 17:01:04 -0500
  • 8df0a878ac Merge branch 'master' of github.com:p-ranav/argparse Pranav Srinivas Kumar 2019-08-17 16:57:15 -0500
  • e40d9d5513 Closes #35 Pranav Srinivas Kumar 2019-08-17 16:57:00 -0500
  • 272b19bec2
    Merge pull request #34 from wtdcode/add-required-aruguments-tests Pranav Srinivas Kumar 2019-08-07 08:02:03 -0500
  • 3c7fcad146 Fix typo Mio 2019-08-07 19:58:32 +0800
  • 466e3aa37c Include new tests Mio 2019-08-07 19:58:25 +0800
  • 34165a8ed7 Add corresponding tests for required arguments Mio 2019-08-07 19:53:35 +0800
  • aba9b10101
    Merge pull request #32 from wtdcode/remove-newlines Pranav Srinivas Kumar 2019-08-06 08:49:01 -0500
  • e8dcc7e2c6
    Merge pull request #33 from wtdcode/add-required-feature Pranav Srinivas Kumar 2019-08-06 08:48:45 -0500
  • 4712288086 Change the format of required arguments Mio 2019-08-06 20:52:31 +0800
  • 39c720e6c0 Add a mIsRquired field Mio 2019-08-06 20:48:51 +0800
  • 7cb710f404 Remove extra new lines Mio 2019-08-06 20:41:24 +0800
  • 1635efdc44
    Merge pull request #31 from zhihaoy/ci-overhaul Pranav Srinivas Kumar 2019-08-05 11:37:39 -0500
  • a91b11d203
    Use OSX CI and Windows to test other toolchains Zhihao Yuan 2019-08-04 23:25:19 -0500
  • a2bd798920
    Update README.md Pranav Srinivas Kumar 2019-06-16 16:36:05 -0400
  • f9eb9779d6
    Update .travis.yml Pranav Srinivas Kumar 2019-06-16 16:31:02 -0400
  • 811d1edc8b
    Update .travis.yml Pranav Srinivas Kumar 2019-06-16 16:28:53 -0400
  • 895969a4f6
    Create .travis.yml Pranav Srinivas Kumar 2019-06-16 16:24:53 -0400
  • 2c71311b5f
    Update README.md Pranav Srinivas Kumar 2019-06-09 12:31:58 -0400
  • af1af7d5b7 Unit tests to parse floating point numbers in E-notation. Issue #24 Pranav Srinivas Kumar 2019-06-06 21:37:30 -0400
  • 6e69548d82
    Addresses Issue #25 Pranav Srinivas Kumar 2019-06-06 21:30:31 -0400
  • 73f6aa7538 Fixes Issue #24 Pranav Srinivas Kumar 2019-06-06 21:24:32 -0400
  • 2125f34d35
    Update README.md Pranav Srinivas Kumar 2019-06-05 15:48:12 -0400
  • 3ff61cce4b
    Fixes Issue #23 Pranav Srinivas Kumar 2019-06-05 15:30:08 -0400
  • af650392e7 Fixes Issue #22 - Tested w/ Visual Studio 2019 Pranav Srinivas Kumar 2019-06-05 09:13:51 -0400
  • 369cd551ac
    Merge pull request #21 from svanveen/fix/print-help Pranav Srinivas Kumar 2019-05-25 21:07:25 -0400
  • 6d46876f5c Do some cleanup in print_help Stephan van Veen 2019-05-25 20:07:24 +0200
  • 67e535e171 Move print_help logic into Argument Stephan van Veen 2019-05-25 20:01:04 +0200
  • b95765f53d
    Merge pull request #20 from Bnmann/dev-bnmann-fix-cmake-export Pranav Srinivas Kumar 2019-05-25 07:37:11 -0400
  • 3b5d4725f6 Fix invalid cmake export configuration Bartlomiej Neumann 2019-05-25 12:40:40 +0200
  • 34d259d892 Sort names on argument construction Stephan van Veen 2019-05-25 09:44:06 +0200
  • 7c5ee10205
    Merge pull request #19 from svanveen/fix/parse-args Pranav Srinivas Kumar 2019-05-24 15:01:33 -0400
  • d960a41e96 Use local iterator instead of member counter Stephan van Veen 2019-05-18 14:41:00 +0200
  • f2e0bd0de1 Iterate over map instead of both lists Stephan van Veen 2019-05-18 14:35:37 +0200
  • 62c2be634a Remove argc argv version of parse_args_internal Stephan van Veen 2019-05-18 14:27:32 +0200
  • 9e7b80034e Throw exception in case of unknown argument Stephan van Veen 2019-05-18 14:22:10 +0200
  • 36bdfe4a55 Change test cases Stephan van Veen 2019-05-18 14:04:57 +0200
  • ecf8e4fd5b Implement parse_args_internal for compound parameters Stephan van Veen 2019-05-18 12:22:27 +0200
  • d95f9d9f14 First check for positional, then optional and compound Stephan van Veen 2019-05-18 11:54:06 +0200
  • 44bef34e79 Implement parse_args_internal for positional parameters Stephan van Veen 2019-05-15 22:18:23 +0200
  • 3c9a74049f Implement parse_args_internal for optional parameters Stephan van Veen 2019-05-15 21:55:27 +0200
  • 4da8454a5a Simplify is_optional check Stephan van Veen 2019-05-18 11:44:21 +0200
  • c03e34f981
    Merge pull request #18 from svanveen/fix/container-types Pranav Srinivas Kumar 2019-05-14 19:59:31 -0400
  • b3494a29d6 Remove is_specialization Stephan van Veen 2019-05-13 22:53:47 +0200
  • 20a7d90abe Don't accept std::string as container Stephan van Veen 2019-05-13 22:52:26 +0200
  • a6ceffdb63 Extend doxygen documentation Stephan van Veen 2019-05-13 22:29:35 +0200
  • f08a280f92 Throw std::logic_error instead of returning empty value Stephan van Veen 2019-05-13 22:29:09 +0200
  • 02b3ed1878 Cleanup Argument::get methods Stephan van Veen 2019-05-13 22:09:27 +0200
  • ca68260ec4 Enable equality operator for all iterable types Stephan van Veen 2019-05-13 21:50:53 +0200
  • bd8d720faa
    Merge pull request #16 from Jackojc/fix_const_argv Pranav Srinivas Kumar 2019-05-12 14:59:12 -0400
  • 3e1a42e312 allow use of const char** and char** for argv Jack Clarke 2019-05-12 18:40:30 +0100
  • 6ed4a5157e
    Merge pull request #15 from Jackojc/fix_warnings Pranav Srinivas Kumar 2019-05-12 13:15:54 -0400
  • 5e1b85fdc5 fix warning for implicit type conversion Jack Clarke 2019-05-12 17:38:18 +0100
  • 94ca8e2552 Unify container operations Stephan van Veen 2019-05-12 15:54:23 +0200
  • cddde9f1b7
    Merge pull request #14 from svanveen/fix/refactoring Pranav Srinivas Kumar 2019-05-12 11:05:37 -0400
  • 15f45c2054 Simplify get method Stephan van Veen 2019-05-12 15:21:11 +0200
  • 84adf5b2df Simplify creating of help option Stephan van Veen 2019-05-12 14:46:24 +0200
  • ecf8286c9e Resolve template recursion in add_parents method Stephan van Veen 2019-05-11 13:33:08 +0200
  • 3bd7b342f0 Add const Stephan van Veen 2019-05-11 13:19:17 +0200
  • e923cf2ac3 Invert if-condition to improve readability Stephan van Veen 2019-05-11 13:18:37 +0200
  • 95746ae159 Put helper methods into anonymous namespace Stephan van Veen 2019-05-11 13:08:21 +0200
  • 8dd508d4b6 Put error message into exception instead of std::cerr Stephan van Veen 2019-05-11 12:41:57 +0200
  • 603e87ae69 Move validation logic into Argument class itself Stephan van Veen 2019-05-11 12:36:32 +0200
  • 7c938b1f2b Use stl algorithms instead of nested for loops Stephan van Veen 2019-05-11 12:24:01 +0200
  • a364f3f1e7 Remove code duplication Stephan van Veen 2019-05-11 11:35:32 +0200
  • 50f2df36aa
    Merge pull request #13 from svanveen/fix/exceptions Pranav Srinivas Kumar 2019-05-11 09:24:56 -0400
  • 12ad27f9c3 Don't call print_help inside ArgumentParser Stephan van Veen 2019-05-11 13:11:49 +0200
  • 42ff186743 Put error message into exception instead of printing Stephan van Veen 2019-05-11 12:45:10 +0200
  • 3c65c5dcab Add MACRO which calls exit(0) on any runtime_error in parse_args Stephan van Veen 2019-05-11 11:24:41 +0200
  • a0fa02503e Throw std::runtime_error instead of calling exit(0) Stephan van Veen 2019-05-11 11:23:44 +0200
  • 94e4458641 Make use of move semantics Stephan van Veen 2019-05-11 00:38:01 +0200
  • 16ef9d84e0
    Merge pull request #12 from svanveen/feature/modernize Pranav Srinivas Kumar 2019-05-10 17:59:55 -0400
  • b1c566b434 Prefer emplace_back over push_back Stephan van Veen 2019-05-10 19:11:43 +0200
  • 6d3be1927c Use new constructor of Argument in constructor of ArgumentParser Stephan van Veen 2019-05-10 17:20:12 +0200
  • 10fab58969 Replace upsert method by std::map::insert_or_assign Stephan van Veen 2019-05-10 17:06:28 +0200
  • 91cd2477de Fix broken indentation Stephan van Veen 2019-05-09 20:28:10 +0200
  • 2dc9121acf Simplify type traits Stephan van Veen 2019-05-09 18:24:30 +0200
  • df21d07bd6 Prefer emplace_back over push_back Stephan van Veen 2019-05-09 18:24:16 +0200
  • bef90a8d4f Make use of move semantics Stephan van Veen 2019-05-09 18:06:56 +0200
  • 1eadf94438 Use empty() instead of size comparison Stephan van Veen 2019-05-09 18:03:56 +0200
  • d57b191f77 Use range based for loop Stephan van Veen 2019-05-09 18:00:36 +0200
  • 89e4bb11ac Use auto type for iterators Stephan van Veen 2019-05-09 17:54:52 +0200
  • 328f1048da Initialize mNames using Stephan van Veen 2019-05-09 17:42:18 +0200
  • d9bff3dc2b Construct Argument using template pack of names Stephan van Veen 2019-05-08 23:14:27 +0200
  • 8474147a7c Use default constructor and non-static member initializers Stephan van Veen 2019-05-08 23:00:05 +0200
  • f13f538f8c
    Merge pull request #11 from Jackojc/fix_warnings Pranav Srinivas Kumar 2019-05-07 19:09:19 -0400
  • 4448983ecf fixed warnings Jack Clarke 2019-05-07 17:04:48 +0100
  • 3ea4c79137 Fixes core dump on optional arg (issue #10) Pranav Srinivas Kumar 2019-05-04 11:49:30 -0400
  • 374c70e7b3
    Fixes issue #8 Pranav Srinivas Kumar 2019-05-01 20:13:10 -0400
  • 7c9f83c7e1 Fixes issue #9 where error message shows the small form of the argument even though the user enters the long version Pranav Srinivas Kumar 2019-05-01 20:06:13 -0400
  • 4d98282e2f Fixed formatting in error message (Issue #9) Pranav Srinivas Kumar 2019-05-01 19:55:40 -0400
  • a80b960ea3
    Update README.md Pranav Srinivas Kumar 2019-04-28 19:30:52 -0400
  • f011fd35ff
    Update README.md Pranav Srinivas Kumar 2019-04-24 14:17:55 -0400
  • 16ef9d2de6
    Merge pull request #7 from zhihaoy/fix-warn Pranav Srinivas Kumar 2019-04-23 20:25:30 -0400
  • af7380f98b
    Fix C4267 in MSVC Zhihao Yuan 2019-04-23 18:28:15 -0500
  • b35cee19e2
    Update README.md Pranav Srinivas Kumar 2019-04-19 21:09:17 -0400
  • 7022e7043c Merge branch 'master' of https://github.com/p-ranav/argparse Pranav Srinivas Kumar 2019-04-18 22:42:51 -0400
  • 88eca55b06 Fixes issue #6 Pranav Srinivas Kumar 2019-04-18 22:42:43 -0400
  • f58e2577d0
    Update README.md Pranav Srinivas Kumar 2019-04-12 21:34:30 -0400