From 33101e79727e3653774a12ed87a1c91e4a2ef4a4 Mon Sep 17 00:00:00 2001 From: Pranav Srinivas Kumar Date: Fri, 8 May 2020 14:35:05 -0500 Subject: [PATCH] Closes #73 --- CMakeLists.txt | 2 +- README.md | 4 ++-- include/{ => argparse}/argparse.hpp | 0 test/test_actions.cpp | 2 +- test/test_compound_arguments.cpp | 2 +- test/test_container_arguments.cpp | 2 +- test/test_help.cpp | 2 +- test/test_invalid_arguments.cpp | 2 +- test/test_issue_37.cpp | 2 +- test/test_negative_numbers.cpp | 2 +- test/test_optional_arguments.cpp | 2 +- test/test_parent_parsers.cpp | 2 +- test/test_parse_args.cpp | 2 +- test/test_positional_arguments.cpp | 2 +- test/test_required_arguments.cpp | 2 +- test/test_scan.cpp | 2 +- test/test_value_semantics.cpp | 2 +- 17 files changed, 17 insertions(+), 17 deletions(-) rename include/{ => argparse}/argparse.hpp (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index ac4c5ba..6e5601b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,5 +20,5 @@ install(TARGETS argparse EXPORT argparseConfig) install(EXPORT argparseConfig NAMESPACE argparse:: DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/argparse) -install(FILES ${CMAKE_CURRENT_LIST_DIR}/include/argparse.hpp +install(FILES ${CMAKE_CURRENT_LIST_DIR}/include/argparse/argparse.hpp DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/argparse) diff --git a/README.md b/README.md index 4ef9375..d57d411 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ Simply include argparse.hpp and you're good to go. ```cpp -#include +#include ``` To start parsing command-line arguments, create an ```ArgumentParser```. @@ -44,7 +44,7 @@ Argparse supports a variety of argument types including positional, optional, an Here's an example of a ***positional argument***: ```cpp -#include +#include int main(int argc, char *argv[]) { argparse::ArgumentParser program("program name"); diff --git a/include/argparse.hpp b/include/argparse/argparse.hpp similarity index 100% rename from include/argparse.hpp rename to include/argparse/argparse.hpp diff --git a/test/test_actions.cpp b/test/test_actions.cpp index 82bd75e..6d624af 100644 --- a/test/test_actions.cpp +++ b/test/test_actions.cpp @@ -1,5 +1,5 @@ #include -#include +#include using doctest::test_suite; diff --git a/test/test_compound_arguments.cpp b/test/test_compound_arguments.cpp index 52be3c4..7f67547 100644 --- a/test/test_compound_arguments.cpp +++ b/test/test_compound_arguments.cpp @@ -1,5 +1,5 @@ #include -#include +#include #include using doctest::test_suite; diff --git a/test/test_container_arguments.cpp b/test/test_container_arguments.cpp index 77eba61..69258dd 100644 --- a/test/test_container_arguments.cpp +++ b/test/test_container_arguments.cpp @@ -1,5 +1,5 @@ #include -#include +#include #include using doctest::test_suite; diff --git a/test/test_help.cpp b/test/test_help.cpp index e1312c7..25b87af 100644 --- a/test/test_help.cpp +++ b/test/test_help.cpp @@ -1,5 +1,5 @@ #include -#include +#include using doctest::test_suite; diff --git a/test/test_invalid_arguments.cpp b/test/test_invalid_arguments.cpp index 9a3ac59..a51be95 100644 --- a/test/test_invalid_arguments.cpp +++ b/test/test_invalid_arguments.cpp @@ -1,5 +1,5 @@ #include -#include +#include using doctest::test_suite; diff --git a/test/test_issue_37.cpp b/test/test_issue_37.cpp index 15b7154..1ac3b7f 100644 --- a/test/test_issue_37.cpp +++ b/test/test_issue_37.cpp @@ -1,5 +1,5 @@ #include -#include +#include using doctest::test_suite; diff --git a/test/test_negative_numbers.cpp b/test/test_negative_numbers.cpp index 2eeadd1..4bac6ec 100644 --- a/test/test_negative_numbers.cpp +++ b/test/test_negative_numbers.cpp @@ -1,5 +1,5 @@ #include -#include +#include using doctest::test_suite; diff --git a/test/test_optional_arguments.cpp b/test/test_optional_arguments.cpp index 57523b7..a31d5df 100644 --- a/test/test_optional_arguments.cpp +++ b/test/test_optional_arguments.cpp @@ -1,5 +1,5 @@ #include -#include +#include using doctest::test_suite; diff --git a/test/test_parent_parsers.cpp b/test/test_parent_parsers.cpp index 83dc1fa..2077265 100644 --- a/test/test_parent_parsers.cpp +++ b/test/test_parent_parsers.cpp @@ -1,5 +1,5 @@ #include -#include +#include using doctest::test_suite; diff --git a/test/test_parse_args.cpp b/test/test_parse_args.cpp index c0a658a..6ca55a6 100644 --- a/test/test_parse_args.cpp +++ b/test/test_parse_args.cpp @@ -1,5 +1,5 @@ #include -#include +#include using doctest::test_suite; diff --git a/test/test_positional_arguments.cpp b/test/test_positional_arguments.cpp index 5735c8a..3b2b85c 100644 --- a/test/test_positional_arguments.cpp +++ b/test/test_positional_arguments.cpp @@ -1,5 +1,5 @@ #include -#include +#include #include using doctest::test_suite; diff --git a/test/test_required_arguments.cpp b/test/test_required_arguments.cpp index 6404f88..9f98437 100644 --- a/test/test_required_arguments.cpp +++ b/test/test_required_arguments.cpp @@ -1,5 +1,5 @@ #include -#include +#include using doctest::test_suite; diff --git a/test/test_scan.cpp b/test/test_scan.cpp index 64b6f58..6cc53e5 100644 --- a/test/test_scan.cpp +++ b/test/test_scan.cpp @@ -1,4 +1,4 @@ -#include +#include #include #include diff --git a/test/test_value_semantics.cpp b/test/test_value_semantics.cpp index 026aa29..2cc0f88 100644 --- a/test/test_value_semantics.cpp +++ b/test/test_value_semantics.cpp @@ -1,4 +1,4 @@ -#include +#include #include using doctest::test_suite;