Commit 34bfa386917c2bed3ffe979580b07064a5586936
Committed by
GitHub
1 parent
b1d8285d
Add copyright and copyright check (#424)
* Add copyright check * Remove old license message * Implement suggestions from code review
Showing
41 changed files
with
240 additions
and
46 deletions
CPPLINT.cfg
| @@ -10,5 +10,4 @@ filter=-whitespace/parens,-whitespace/braces # Conflict with clang-format | @@ -10,5 +10,4 @@ filter=-whitespace/parens,-whitespace/braces # Conflict with clang-format | ||
| 10 | 10 | ||
| 11 | # Filters to be included in future | 11 | # Filters to be included in future |
| 12 | filter=-whitespace/indent,-whitespace/comments,-readability/braces | 12 | filter=-whitespace/indent,-whitespace/comments,-readability/braces |
| 13 | -filter=-legal/copyright # Remove this line after Version 1.9 | ||
| 14 | 13 |
examples/callback_passthrough.cpp
| 1 | +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner | ||
| 2 | +// under NSF AWARD 1414736 and by the respective contributors. | ||
| 3 | +// All rights reserved. | ||
| 4 | +// | ||
| 5 | +// SPDX-License-Identifier: BSD-3-Clause | ||
| 6 | + | ||
| 1 | #include <CLI/CLI.hpp> | 7 | #include <CLI/CLI.hpp> |
| 2 | #include <iostream> | 8 | #include <iostream> |
| 3 | #include <string> | 9 | #include <string> |
examples/digit_args.cpp
| 1 | +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner | ||
| 2 | +// under NSF AWARD 1414736 and by the respective contributors. | ||
| 3 | +// All rights reserved. | ||
| 4 | +// | ||
| 5 | +// SPDX-License-Identifier: BSD-3-Clause | ||
| 6 | + | ||
| 1 | #include <CLI/CLI.hpp> | 7 | #include <CLI/CLI.hpp> |
| 2 | #include <iostream> | 8 | #include <iostream> |
| 3 | 9 |
examples/enum.cpp
| 1 | +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner | ||
| 2 | +// under NSF AWARD 1414736 and by the respective contributors. | ||
| 3 | +// All rights reserved. | ||
| 4 | +// | ||
| 5 | +// SPDX-License-Identifier: BSD-3-Clause | ||
| 6 | + | ||
| 1 | #include <CLI/CLI.hpp> | 7 | #include <CLI/CLI.hpp> |
| 2 | #include <iostream> | 8 | #include <iostream> |
| 3 | #include <map> | 9 | #include <map> |
examples/enum_ostream.cpp
| 1 | +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner | ||
| 2 | +// under NSF AWARD 1414736 and by the respective contributors. | ||
| 3 | +// All rights reserved. | ||
| 4 | +// | ||
| 5 | +// SPDX-License-Identifier: BSD-3-Clause | ||
| 6 | + | ||
| 1 | #include <CLI/CLI.hpp> | 7 | #include <CLI/CLI.hpp> |
| 2 | #include <iostream> | 8 | #include <iostream> |
| 3 | #include <map> | 9 | #include <map> |
examples/formatter.cpp
| 1 | +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner | ||
| 2 | +// under NSF AWARD 1414736 and by the respective contributors. | ||
| 3 | +// All rights reserved. | ||
| 4 | +// | ||
| 5 | +// SPDX-License-Identifier: BSD-3-Clause | ||
| 6 | + | ||
| 1 | #include <CLI/CLI.hpp> | 7 | #include <CLI/CLI.hpp> |
| 2 | #include <iostream> | 8 | #include <iostream> |
| 3 | #include <memory> | 9 | #include <memory> |
examples/groups.cpp
| 1 | +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner | ||
| 2 | +// under NSF AWARD 1414736 and by the respective contributors. | ||
| 3 | +// All rights reserved. | ||
| 4 | +// | ||
| 5 | +// SPDX-License-Identifier: BSD-3-Clause | ||
| 6 | + | ||
| 1 | #include <CLI/CLI.hpp> | 7 | #include <CLI/CLI.hpp> |
| 2 | #include <CLI/Timer.hpp> | 8 | #include <CLI/Timer.hpp> |
| 3 | #include <iostream> | 9 | #include <iostream> |
examples/inter_argument_order.cpp
| 1 | +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner | ||
| 2 | +// under NSF AWARD 1414736 and by the respective contributors. | ||
| 3 | +// All rights reserved. | ||
| 4 | +// | ||
| 5 | +// SPDX-License-Identifier: BSD-3-Clause | ||
| 6 | + | ||
| 1 | #include <CLI/CLI.hpp> | 7 | #include <CLI/CLI.hpp> |
| 2 | #include <algorithm> | 8 | #include <algorithm> |
| 3 | #include <iostream> | 9 | #include <iostream> |
examples/json.cpp
| 1 | +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner | ||
| 2 | +// under NSF AWARD 1414736 and by the respective contributors. | ||
| 3 | +// All rights reserved. | ||
| 4 | +// | ||
| 5 | +// SPDX-License-Identifier: BSD-3-Clause | ||
| 6 | + | ||
| 1 | #include <CLI/CLI.hpp> | 7 | #include <CLI/CLI.hpp> |
| 2 | #include <iostream> | 8 | #include <iostream> |
| 3 | #include <memory> | 9 | #include <memory> |
examples/modhelp.cpp
| 1 | +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner | ||
| 2 | +// under NSF AWARD 1414736 and by the respective contributors. | ||
| 3 | +// All rights reserved. | ||
| 4 | +// | ||
| 5 | +// SPDX-License-Identifier: BSD-3-Clause | ||
| 6 | + | ||
| 1 | #include <CLI/CLI.hpp> | 7 | #include <CLI/CLI.hpp> |
| 2 | #include <iostream> | 8 | #include <iostream> |
| 3 | #include <string> | 9 | #include <string> |
examples/nested.cpp
| 1 | +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner | ||
| 2 | +// under NSF AWARD 1414736 and by the respective contributors. | ||
| 3 | +// All rights reserved. | ||
| 4 | +// | ||
| 5 | +// SPDX-License-Identifier: BSD-3-Clause | ||
| 6 | + | ||
| 1 | #include <CLI/CLI.hpp> | 7 | #include <CLI/CLI.hpp> |
| 2 | #include <string> | 8 | #include <string> |
| 3 | 9 |
examples/option_groups.cpp
| 1 | +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner | ||
| 2 | +// under NSF AWARD 1414736 and by the respective contributors. | ||
| 3 | +// All rights reserved. | ||
| 4 | +// | ||
| 5 | +// SPDX-License-Identifier: BSD-3-Clause | ||
| 6 | + | ||
| 1 | #include <CLI/CLI.hpp> | 7 | #include <CLI/CLI.hpp> |
| 2 | #include <iostream> | 8 | #include <iostream> |
| 3 | #include <string> | 9 | #include <string> |
examples/positional_arity.cpp
| 1 | +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner | ||
| 2 | +// under NSF AWARD 1414736 and by the respective contributors. | ||
| 3 | +// All rights reserved. | ||
| 4 | +// | ||
| 5 | +// SPDX-License-Identifier: BSD-3-Clause | ||
| 6 | + | ||
| 1 | #include <CLI/CLI.hpp> | 7 | #include <CLI/CLI.hpp> |
| 2 | #include <iostream> | 8 | #include <iostream> |
| 3 | #include <string> | 9 | #include <string> |
examples/positional_validation.cpp
| 1 | +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner | ||
| 2 | +// under NSF AWARD 1414736 and by the respective contributors. | ||
| 3 | +// All rights reserved. | ||
| 4 | +// | ||
| 5 | +// SPDX-License-Identifier: BSD-3-Clause | ||
| 6 | + | ||
| 1 | #include <CLI/CLI.hpp> | 7 | #include <CLI/CLI.hpp> |
| 2 | #include <iostream> | 8 | #include <iostream> |
| 3 | #include <string> | 9 | #include <string> |
examples/prefix_command.cpp
| 1 | +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner | ||
| 2 | +// under NSF AWARD 1414736 and by the respective contributors. | ||
| 3 | +// All rights reserved. | ||
| 4 | +// | ||
| 5 | +// SPDX-License-Identifier: BSD-3-Clause | ||
| 6 | + | ||
| 1 | #include <CLI/CLI.hpp> | 7 | #include <CLI/CLI.hpp> |
| 2 | #include <iostream> | 8 | #include <iostream> |
| 3 | #include <string> | 9 | #include <string> |
examples/ranges.cpp
| 1 | +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner | ||
| 2 | +// under NSF AWARD 1414736 and by the respective contributors. | ||
| 3 | +// All rights reserved. | ||
| 4 | +// | ||
| 5 | +// SPDX-License-Identifier: BSD-3-Clause | ||
| 6 | + | ||
| 1 | #include <CLI/CLI.hpp> | 7 | #include <CLI/CLI.hpp> |
| 2 | #include <iostream> | 8 | #include <iostream> |
| 3 | #include <vector> | 9 | #include <vector> |
examples/retired.cpp
| 1 | +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner | ||
| 2 | +// under NSF AWARD 1414736 and by the respective contributors. | ||
| 3 | +// All rights reserved. | ||
| 4 | +// | ||
| 5 | +// SPDX-License-Identifier: BSD-3-Clause | ||
| 6 | + | ||
| 1 | #include <CLI/CLI.hpp> | 7 | #include <CLI/CLI.hpp> |
| 2 | #include <iostream> | 8 | #include <iostream> |
| 3 | #include <utility> | 9 | #include <utility> |
examples/shapes.cpp
| 1 | +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner | ||
| 2 | +// under NSF AWARD 1414736 and by the respective contributors. | ||
| 3 | +// All rights reserved. | ||
| 4 | +// | ||
| 5 | +// SPDX-License-Identifier: BSD-3-Clause | ||
| 6 | + | ||
| 1 | #include <CLI/CLI.hpp> | 7 | #include <CLI/CLI.hpp> |
| 2 | #include <iostream> | 8 | #include <iostream> |
| 3 | #include <vector> | 9 | #include <vector> |
examples/simple.cpp
| 1 | +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner | ||
| 2 | +// under NSF AWARD 1414736 and by the respective contributors. | ||
| 3 | +// All rights reserved. | ||
| 4 | +// | ||
| 5 | +// SPDX-License-Identifier: BSD-3-Clause | ||
| 6 | + | ||
| 1 | #include <CLI/CLI.hpp> | 7 | #include <CLI/CLI.hpp> |
| 2 | #include <iostream> | 8 | #include <iostream> |
| 3 | #include <string> | 9 | #include <string> |
examples/subcom_help.cpp
| 1 | +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner | ||
| 2 | +// under NSF AWARD 1414736 and by the respective contributors. | ||
| 3 | +// All rights reserved. | ||
| 4 | +// | ||
| 5 | +// SPDX-License-Identifier: BSD-3-Clause | ||
| 6 | + | ||
| 1 | #include <CLI/CLI.hpp> | 7 | #include <CLI/CLI.hpp> |
| 2 | #include <iostream> | 8 | #include <iostream> |
| 3 | #include <string> | 9 | #include <string> |
examples/subcom_in_files/subcommand_a.cpp
| 1 | +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner | ||
| 2 | +// under NSF AWARD 1414736 and by the respective contributors. | ||
| 3 | +// All rights reserved. | ||
| 4 | +// | ||
| 5 | +// SPDX-License-Identifier: BSD-3-Clause | ||
| 6 | + | ||
| 1 | #include "subcommand_a.hpp" | 7 | #include "subcommand_a.hpp" |
| 2 | #include <iostream> | 8 | #include <iostream> |
| 3 | #include <memory> | 9 | #include <memory> |
examples/subcom_in_files/subcommand_a.hpp
| 1 | +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner | ||
| 2 | +// under NSF AWARD 1414736 and by the respective contributors. | ||
| 3 | +// All rights reserved. | ||
| 4 | +// | ||
| 5 | +// SPDX-License-Identifier: BSD-3-Clause | ||
| 6 | + | ||
| 1 | #pragma once | 7 | #pragma once |
| 2 | 8 | ||
| 3 | #include <CLI/CLI.hpp> | 9 | #include <CLI/CLI.hpp> |
examples/subcom_in_files/subcommand_main.cpp
| 1 | +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner | ||
| 2 | +// under NSF AWARD 1414736 and by the respective contributors. | ||
| 3 | +// All rights reserved. | ||
| 4 | +// | ||
| 5 | +// SPDX-License-Identifier: BSD-3-Clause | ||
| 6 | + | ||
| 1 | #include "subcommand_a.hpp" | 7 | #include "subcommand_a.hpp" |
| 2 | #include <CLI/CLI.hpp> | 8 | #include <CLI/CLI.hpp> |
| 3 | 9 |
examples/subcom_partitioned.cpp
| 1 | +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner | ||
| 2 | +// under NSF AWARD 1414736 and by the respective contributors. | ||
| 3 | +// All rights reserved. | ||
| 4 | +// | ||
| 5 | +// SPDX-License-Identifier: BSD-3-Clause | ||
| 6 | + | ||
| 1 | #include <CLI/CLI.hpp> | 7 | #include <CLI/CLI.hpp> |
| 2 | #include <CLI/Timer.hpp> | 8 | #include <CLI/Timer.hpp> |
| 3 | #include <iostream> | 9 | #include <iostream> |
examples/subcommands.cpp
| 1 | +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner | ||
| 2 | +// under NSF AWARD 1414736 and by the respective contributors. | ||
| 3 | +// All rights reserved. | ||
| 4 | +// | ||
| 5 | +// SPDX-License-Identifier: BSD-3-Clause | ||
| 6 | + | ||
| 1 | #include <CLI/CLI.hpp> | 7 | #include <CLI/CLI.hpp> |
| 2 | #include <iostream> | 8 | #include <iostream> |
| 3 | #include <string> | 9 | #include <string> |
examples/validators.cpp
| 1 | +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner | ||
| 2 | +// under NSF AWARD 1414736 and by the respective contributors. | ||
| 3 | +// All rights reserved. | ||
| 4 | +// | ||
| 5 | +// SPDX-License-Identifier: BSD-3-Clause | ||
| 6 | + | ||
| 1 | #include <CLI/CLI.hpp> | 7 | #include <CLI/CLI.hpp> |
| 2 | #include <iostream> | 8 | #include <iostream> |
| 3 | #include <string> | 9 | #include <string> |
include/CLI/App.hpp
| 1 | -#pragma once | 1 | +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner |
| 2 | +// under NSF AWARD 1414736 and by the respective contributors. | ||
| 3 | +// All rights reserved. | ||
| 4 | +// | ||
| 5 | +// SPDX-License-Identifier: BSD-3-Clause | ||
| 2 | 6 | ||
| 3 | -// Distributed under the 3-Clause BSD License. See accompanying | ||
| 4 | -// file LICENSE or https://github.com/CLIUtils/CLI11 for details. | 7 | +#pragma once |
| 5 | 8 | ||
| 6 | #include <algorithm> | 9 | #include <algorithm> |
| 7 | #include <cstdint> | 10 | #include <cstdint> |
include/CLI/CLI.hpp
| 1 | -#pragma once | 1 | +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner |
| 2 | +// under NSF AWARD 1414736 and by the respective contributors. | ||
| 3 | +// All rights reserved. | ||
| 4 | +// | ||
| 5 | +// SPDX-License-Identifier: BSD-3-Clause | ||
| 2 | 6 | ||
| 3 | -// Distributed under the 3-Clause BSD License. See accompanying | ||
| 4 | -// file LICENSE or https://github.com/CLIUtils/CLI11 for details. | 7 | +#pragma once |
| 5 | 8 | ||
| 6 | // CLI Library includes | 9 | // CLI Library includes |
| 7 | // Order is important for combiner script | 10 | // Order is important for combiner script |
include/CLI/Config.hpp
| 1 | -#pragma once | 1 | +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner |
| 2 | +// under NSF AWARD 1414736 and by the respective contributors. | ||
| 3 | +// All rights reserved. | ||
| 4 | +// | ||
| 5 | +// SPDX-License-Identifier: BSD-3-Clause | ||
| 2 | 6 | ||
| 3 | -// Distributed under the 3-Clause BSD License. See accompanying | ||
| 4 | -// file LICENSE or https://github.com/CLIUtils/CLI11 for details. | 7 | +#pragma once |
| 5 | 8 | ||
| 6 | #include <algorithm> | 9 | #include <algorithm> |
| 7 | #include <fstream> | 10 | #include <fstream> |
include/CLI/ConfigFwd.hpp
| 1 | -#pragma once | 1 | +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner |
| 2 | +// under NSF AWARD 1414736 and by the respective contributors. | ||
| 3 | +// All rights reserved. | ||
| 4 | +// | ||
| 5 | +// SPDX-License-Identifier: BSD-3-Clause | ||
| 2 | 6 | ||
| 3 | -// Distributed under the 3-Clause BSD License. See accompanying | ||
| 4 | -// file LICENSE or https://github.com/CLIUtils/CLI11 for details. | 7 | +#pragma once |
| 5 | 8 | ||
| 6 | #include <algorithm> | 9 | #include <algorithm> |
| 7 | #include <fstream> | 10 | #include <fstream> |
include/CLI/Error.hpp
| 1 | -#pragma once | 1 | +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner |
| 2 | +// under NSF AWARD 1414736 and by the respective contributors. | ||
| 3 | +// All rights reserved. | ||
| 4 | +// | ||
| 5 | +// SPDX-License-Identifier: BSD-3-Clause | ||
| 2 | 6 | ||
| 3 | -// Distributed under the 3-Clause BSD License. See accompanying | ||
| 4 | -// file LICENSE or https://github.com/CLIUtils/CLI11 for details. | 7 | +#pragma once |
| 5 | 8 | ||
| 6 | #include <exception> | 9 | #include <exception> |
| 7 | #include <stdexcept> | 10 | #include <stdexcept> |
include/CLI/Formatter.hpp
| 1 | -#pragma once | 1 | +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner |
| 2 | +// under NSF AWARD 1414736 and by the respective contributors. | ||
| 3 | +// All rights reserved. | ||
| 4 | +// | ||
| 5 | +// SPDX-License-Identifier: BSD-3-Clause | ||
| 2 | 6 | ||
| 3 | -// Distributed under the 3-Clause BSD License. See accompanying | ||
| 4 | -// file LICENSE or https://github.com/CLIUtils/CLI11 for details. | 7 | +#pragma once |
| 5 | 8 | ||
| 6 | #include <algorithm> | 9 | #include <algorithm> |
| 7 | #include <string> | 10 | #include <string> |
include/CLI/FormatterFwd.hpp
| 1 | -#pragma once | 1 | +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner |
| 2 | +// under NSF AWARD 1414736 and by the respective contributors. | ||
| 3 | +// All rights reserved. | ||
| 4 | +// | ||
| 5 | +// SPDX-License-Identifier: BSD-3-Clause | ||
| 2 | 6 | ||
| 3 | -// Distributed under the 3-Clause BSD License. See accompanying | ||
| 4 | -// file LICENSE or https://github.com/CLIUtils/CLI11 for details. | 7 | +#pragma once |
| 5 | 8 | ||
| 6 | #include <map> | 9 | #include <map> |
| 7 | #include <string> | 10 | #include <string> |
include/CLI/Macros.hpp
| 1 | -#pragma once | 1 | +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner |
| 2 | +// under NSF AWARD 1414736 and by the respective contributors. | ||
| 3 | +// All rights reserved. | ||
| 4 | +// | ||
| 5 | +// SPDX-License-Identifier: BSD-3-Clause | ||
| 2 | 6 | ||
| 3 | -// Distributed under the 3-Clause BSD License. See accompanying | ||
| 4 | -// file LICENSE or https://github.com/CLIUtils/CLI11 for details. | 7 | +#pragma once |
| 5 | 8 | ||
| 6 | // [CLI11:verbatim] | 9 | // [CLI11:verbatim] |
| 7 | 10 |
include/CLI/Option.hpp
| 1 | -#pragma once | 1 | +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner |
| 2 | +// under NSF AWARD 1414736 and by the respective contributors. | ||
| 3 | +// All rights reserved. | ||
| 4 | +// | ||
| 5 | +// SPDX-License-Identifier: BSD-3-Clause | ||
| 2 | 6 | ||
| 3 | -// Distributed under the 3-Clause BSD License. See accompanying | ||
| 4 | -// file LICENSE or https://github.com/CLIUtils/CLI11 for details. | 7 | +#pragma once |
| 5 | 8 | ||
| 6 | #include <algorithm> | 9 | #include <algorithm> |
| 7 | #include <functional> | 10 | #include <functional> |
include/CLI/Split.hpp
| 1 | -#pragma once | 1 | +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner |
| 2 | +// under NSF AWARD 1414736 and by the respective contributors. | ||
| 3 | +// All rights reserved. | ||
| 4 | +// | ||
| 5 | +// SPDX-License-Identifier: BSD-3-Clause | ||
| 2 | 6 | ||
| 3 | -// Distributed under the 3-Clause BSD License. See accompanying | ||
| 4 | -// file LICENSE or https://github.com/CLIUtils/CLI11 for details. | 7 | +#pragma once |
| 5 | 8 | ||
| 6 | #include <string> | 9 | #include <string> |
| 7 | #include <tuple> | 10 | #include <tuple> |
include/CLI/StringTools.hpp
| 1 | -#pragma once | 1 | +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner |
| 2 | +// under NSF AWARD 1414736 and by the respective contributors. | ||
| 3 | +// All rights reserved. | ||
| 4 | +// | ||
| 5 | +// SPDX-License-Identifier: BSD-3-Clause | ||
| 2 | 6 | ||
| 3 | -// Distributed under the 3-Clause BSD License. See accompanying | ||
| 4 | -// file LICENSE or https://github.com/CLIUtils/CLI11 for details. | 7 | +#pragma once |
| 5 | 8 | ||
| 6 | #include <algorithm> | 9 | #include <algorithm> |
| 7 | #include <iomanip> | 10 | #include <iomanip> |
include/CLI/Timer.hpp
| 1 | -#pragma once | 1 | +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner |
| 2 | +// under NSF AWARD 1414736 and by the respective contributors. | ||
| 3 | +// All rights reserved. | ||
| 4 | +// | ||
| 5 | +// SPDX-License-Identifier: BSD-3-Clause | ||
| 2 | 6 | ||
| 3 | -// Distributed under the 3-Clause BSD License. See accompanying | ||
| 4 | -// file LICENSE or https://github.com/CLIUtils/CLI11 for details. | 7 | +#pragma once |
| 5 | 8 | ||
| 6 | // On GCC < 4.8, the following define is often missing. Due to the | 9 | // On GCC < 4.8, the following define is often missing. Due to the |
| 7 | // fact that this library only uses sleep_for, this should be safe | 10 | // fact that this library only uses sleep_for, this should be safe |
include/CLI/TypeTools.hpp
| 1 | -#pragma once | 1 | +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner |
| 2 | +// under NSF AWARD 1414736 and by the respective contributors. | ||
| 3 | +// All rights reserved. | ||
| 4 | +// | ||
| 5 | +// SPDX-License-Identifier: BSD-3-Clause | ||
| 2 | 6 | ||
| 3 | -// Distributed under the 3-Clause BSD License. See accompanying | ||
| 4 | -// file LICENSE or https://github.com/CLIUtils/CLI11 for details. | 7 | +#pragma once |
| 5 | 8 | ||
| 6 | #include "StringTools.hpp" | 9 | #include "StringTools.hpp" |
| 7 | #include <cstdint> | 10 | #include <cstdint> |
include/CLI/Validators.hpp
| 1 | -#pragma once | 1 | +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner |
| 2 | +// under NSF AWARD 1414736 and by the respective contributors. | ||
| 3 | +// All rights reserved. | ||
| 4 | +// | ||
| 5 | +// SPDX-License-Identifier: BSD-3-Clause | ||
| 2 | 6 | ||
| 3 | -// Distributed under the 3-Clause BSD License. See accompanying | ||
| 4 | -// file LICENSE or https://github.com/CLIUtils/CLI11 for details. | 7 | +#pragma once |
| 5 | 8 | ||
| 6 | #include "CLI/Macros.hpp" | 9 | #include "CLI/Macros.hpp" |
| 7 | #include "CLI/StringTools.hpp" | 10 | #include "CLI/StringTools.hpp" |
include/CLI/Version.hpp
| 1 | -#pragma once | 1 | +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner |
| 2 | +// under NSF AWARD 1414736 and by the respective contributors. | ||
| 3 | +// All rights reserved. | ||
| 4 | +// | ||
| 5 | +// SPDX-License-Identifier: BSD-3-Clause | ||
| 2 | 6 | ||
| 3 | -// Distributed under the 3-Clause BSD License. See accompanying | ||
| 4 | -// file LICENSE or https://github.com/CLIUtils/CLI11 for details. | 7 | +#pragma once |
| 5 | 8 | ||
| 6 | // [CLI11:verbatim] | 9 | // [CLI11:verbatim] |
| 7 | 10 |