diff --git a/CPPLINT.cfg b/CPPLINT.cfg index 2f75beb..c55a5f2 100644 --- a/CPPLINT.cfg +++ b/CPPLINT.cfg @@ -10,5 +10,4 @@ filter=-whitespace/parens,-whitespace/braces # Conflict with clang-format # Filters to be included in future filter=-whitespace/indent,-whitespace/comments,-readability/braces -filter=-legal/copyright # Remove this line after Version 1.9 diff --git a/examples/callback_passthrough.cpp b/examples/callback_passthrough.cpp index 8e741f2..16698aa 100644 --- a/examples/callback_passthrough.cpp +++ b/examples/callback_passthrough.cpp @@ -1,3 +1,9 @@ +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner +// under NSF AWARD 1414736 and by the respective contributors. +// All rights reserved. +// +// SPDX-License-Identifier: BSD-3-Clause + #include #include #include diff --git a/examples/digit_args.cpp b/examples/digit_args.cpp index 3772166..cf8f7d3 100644 --- a/examples/digit_args.cpp +++ b/examples/digit_args.cpp @@ -1,3 +1,9 @@ +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner +// under NSF AWARD 1414736 and by the respective contributors. +// All rights reserved. +// +// SPDX-License-Identifier: BSD-3-Clause + #include #include diff --git a/examples/enum.cpp b/examples/enum.cpp index 7faf7ba..a73e56b 100644 --- a/examples/enum.cpp +++ b/examples/enum.cpp @@ -1,3 +1,9 @@ +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner +// under NSF AWARD 1414736 and by the respective contributors. +// All rights reserved. +// +// SPDX-License-Identifier: BSD-3-Clause + #include #include #include diff --git a/examples/enum_ostream.cpp b/examples/enum_ostream.cpp index 652f233..13d3350 100644 --- a/examples/enum_ostream.cpp +++ b/examples/enum_ostream.cpp @@ -1,3 +1,9 @@ +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner +// under NSF AWARD 1414736 and by the respective contributors. +// All rights reserved. +// +// SPDX-License-Identifier: BSD-3-Clause + #include #include #include diff --git a/examples/formatter.cpp b/examples/formatter.cpp index 277dec0..81d6209 100644 --- a/examples/formatter.cpp +++ b/examples/formatter.cpp @@ -1,3 +1,9 @@ +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner +// under NSF AWARD 1414736 and by the respective contributors. +// All rights reserved. +// +// SPDX-License-Identifier: BSD-3-Clause + #include #include #include diff --git a/examples/groups.cpp b/examples/groups.cpp index 7a3c920..863976b 100644 --- a/examples/groups.cpp +++ b/examples/groups.cpp @@ -1,3 +1,9 @@ +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner +// under NSF AWARD 1414736 and by the respective contributors. +// All rights reserved. +// +// SPDX-License-Identifier: BSD-3-Clause + #include #include #include diff --git a/examples/inter_argument_order.cpp b/examples/inter_argument_order.cpp index 23f8fec..8655f59 100644 --- a/examples/inter_argument_order.cpp +++ b/examples/inter_argument_order.cpp @@ -1,3 +1,9 @@ +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner +// under NSF AWARD 1414736 and by the respective contributors. +// All rights reserved. +// +// SPDX-License-Identifier: BSD-3-Clause + #include #include #include diff --git a/examples/json.cpp b/examples/json.cpp index f633b1d..d5fe35a 100644 --- a/examples/json.cpp +++ b/examples/json.cpp @@ -1,3 +1,9 @@ +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner +// under NSF AWARD 1414736 and by the respective contributors. +// All rights reserved. +// +// SPDX-License-Identifier: BSD-3-Clause + #include #include #include diff --git a/examples/modhelp.cpp b/examples/modhelp.cpp index b5b6ac1..706abca 100644 --- a/examples/modhelp.cpp +++ b/examples/modhelp.cpp @@ -1,3 +1,9 @@ +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner +// under NSF AWARD 1414736 and by the respective contributors. +// All rights reserved. +// +// SPDX-License-Identifier: BSD-3-Clause + #include #include #include diff --git a/examples/nested.cpp b/examples/nested.cpp index 1714b8d..7cd4936 100644 --- a/examples/nested.cpp +++ b/examples/nested.cpp @@ -1,3 +1,9 @@ +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner +// under NSF AWARD 1414736 and by the respective contributors. +// All rights reserved. +// +// SPDX-License-Identifier: BSD-3-Clause + #include #include diff --git a/examples/option_groups.cpp b/examples/option_groups.cpp index ce436af..679cb75 100644 --- a/examples/option_groups.cpp +++ b/examples/option_groups.cpp @@ -1,3 +1,9 @@ +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner +// under NSF AWARD 1414736 and by the respective contributors. +// All rights reserved. +// +// SPDX-License-Identifier: BSD-3-Clause + #include #include #include diff --git a/examples/positional_arity.cpp b/examples/positional_arity.cpp index b67815c..eb6639b 100644 --- a/examples/positional_arity.cpp +++ b/examples/positional_arity.cpp @@ -1,3 +1,9 @@ +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner +// under NSF AWARD 1414736 and by the respective contributors. +// All rights reserved. +// +// SPDX-License-Identifier: BSD-3-Clause + #include #include #include diff --git a/examples/positional_validation.cpp b/examples/positional_validation.cpp index 16bf813..421de25 100644 --- a/examples/positional_validation.cpp +++ b/examples/positional_validation.cpp @@ -1,3 +1,9 @@ +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner +// under NSF AWARD 1414736 and by the respective contributors. +// All rights reserved. +// +// SPDX-License-Identifier: BSD-3-Clause + #include #include #include diff --git a/examples/prefix_command.cpp b/examples/prefix_command.cpp index 52155d5..8977adc 100644 --- a/examples/prefix_command.cpp +++ b/examples/prefix_command.cpp @@ -1,3 +1,9 @@ +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner +// under NSF AWARD 1414736 and by the respective contributors. +// All rights reserved. +// +// SPDX-License-Identifier: BSD-3-Clause + #include #include #include diff --git a/examples/ranges.cpp b/examples/ranges.cpp index 5444436..085a7ad 100644 --- a/examples/ranges.cpp +++ b/examples/ranges.cpp @@ -1,3 +1,9 @@ +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner +// under NSF AWARD 1414736 and by the respective contributors. +// All rights reserved. +// +// SPDX-License-Identifier: BSD-3-Clause + #include #include #include diff --git a/examples/retired.cpp b/examples/retired.cpp index dfa650b..d658e75 100644 --- a/examples/retired.cpp +++ b/examples/retired.cpp @@ -1,3 +1,9 @@ +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner +// under NSF AWARD 1414736 and by the respective contributors. +// All rights reserved. +// +// SPDX-License-Identifier: BSD-3-Clause + #include #include #include diff --git a/examples/shapes.cpp b/examples/shapes.cpp index e08ef0f..880441b 100644 --- a/examples/shapes.cpp +++ b/examples/shapes.cpp @@ -1,3 +1,9 @@ +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner +// under NSF AWARD 1414736 and by the respective contributors. +// All rights reserved. +// +// SPDX-License-Identifier: BSD-3-Clause + #include #include #include diff --git a/examples/simple.cpp b/examples/simple.cpp index 3dd2fa2..58cf4b6 100644 --- a/examples/simple.cpp +++ b/examples/simple.cpp @@ -1,3 +1,9 @@ +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner +// under NSF AWARD 1414736 and by the respective contributors. +// All rights reserved. +// +// SPDX-License-Identifier: BSD-3-Clause + #include #include #include diff --git a/examples/subcom_help.cpp b/examples/subcom_help.cpp index b2d2019..d41d4a5 100644 --- a/examples/subcom_help.cpp +++ b/examples/subcom_help.cpp @@ -1,3 +1,9 @@ +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner +// under NSF AWARD 1414736 and by the respective contributors. +// All rights reserved. +// +// SPDX-License-Identifier: BSD-3-Clause + #include #include #include diff --git a/examples/subcom_in_files/subcommand_a.cpp b/examples/subcom_in_files/subcommand_a.cpp index 697b9e0..63474fd 100644 --- a/examples/subcom_in_files/subcommand_a.cpp +++ b/examples/subcom_in_files/subcommand_a.cpp @@ -1,3 +1,9 @@ +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner +// under NSF AWARD 1414736 and by the respective contributors. +// All rights reserved. +// +// SPDX-License-Identifier: BSD-3-Clause + #include "subcommand_a.hpp" #include #include diff --git a/examples/subcom_in_files/subcommand_a.hpp b/examples/subcom_in_files/subcommand_a.hpp index b6660b1..2993739 100644 --- a/examples/subcom_in_files/subcommand_a.hpp +++ b/examples/subcom_in_files/subcommand_a.hpp @@ -1,3 +1,9 @@ +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner +// under NSF AWARD 1414736 and by the respective contributors. +// All rights reserved. +// +// SPDX-License-Identifier: BSD-3-Clause + #pragma once #include diff --git a/examples/subcom_in_files/subcommand_main.cpp b/examples/subcom_in_files/subcommand_main.cpp index 7fb6c8d..76ebe7c 100644 --- a/examples/subcom_in_files/subcommand_main.cpp +++ b/examples/subcom_in_files/subcommand_main.cpp @@ -1,3 +1,9 @@ +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner +// under NSF AWARD 1414736 and by the respective contributors. +// All rights reserved. +// +// SPDX-License-Identifier: BSD-3-Clause + #include "subcommand_a.hpp" #include diff --git a/examples/subcom_partitioned.cpp b/examples/subcom_partitioned.cpp index bf1bb80..5010678 100644 --- a/examples/subcom_partitioned.cpp +++ b/examples/subcom_partitioned.cpp @@ -1,3 +1,9 @@ +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner +// under NSF AWARD 1414736 and by the respective contributors. +// All rights reserved. +// +// SPDX-License-Identifier: BSD-3-Clause + #include #include #include diff --git a/examples/subcommands.cpp b/examples/subcommands.cpp index 61bdcea..ce71eae 100644 --- a/examples/subcommands.cpp +++ b/examples/subcommands.cpp @@ -1,3 +1,9 @@ +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner +// under NSF AWARD 1414736 and by the respective contributors. +// All rights reserved. +// +// SPDX-License-Identifier: BSD-3-Clause + #include #include #include diff --git a/examples/validators.cpp b/examples/validators.cpp index d29ffaf..05ea045 100644 --- a/examples/validators.cpp +++ b/examples/validators.cpp @@ -1,3 +1,9 @@ +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner +// under NSF AWARD 1414736 and by the respective contributors. +// All rights reserved. +// +// SPDX-License-Identifier: BSD-3-Clause + #include #include #include diff --git a/include/CLI/App.hpp b/include/CLI/App.hpp index c4e6a94..5fa93f0 100644 --- a/include/CLI/App.hpp +++ b/include/CLI/App.hpp @@ -1,7 +1,10 @@ -#pragma once +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner +// under NSF AWARD 1414736 and by the respective contributors. +// All rights reserved. +// +// SPDX-License-Identifier: BSD-3-Clause -// Distributed under the 3-Clause BSD License. See accompanying -// file LICENSE or https://github.com/CLIUtils/CLI11 for details. +#pragma once #include #include diff --git a/include/CLI/CLI.hpp b/include/CLI/CLI.hpp index c2dbe7c..22e85ae 100644 --- a/include/CLI/CLI.hpp +++ b/include/CLI/CLI.hpp @@ -1,7 +1,10 @@ -#pragma once +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner +// under NSF AWARD 1414736 and by the respective contributors. +// All rights reserved. +// +// SPDX-License-Identifier: BSD-3-Clause -// Distributed under the 3-Clause BSD License. See accompanying -// file LICENSE or https://github.com/CLIUtils/CLI11 for details. +#pragma once // CLI Library includes // Order is important for combiner script diff --git a/include/CLI/Config.hpp b/include/CLI/Config.hpp index 27a5b0c..eafb621 100644 --- a/include/CLI/Config.hpp +++ b/include/CLI/Config.hpp @@ -1,7 +1,10 @@ -#pragma once +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner +// under NSF AWARD 1414736 and by the respective contributors. +// All rights reserved. +// +// SPDX-License-Identifier: BSD-3-Clause -// Distributed under the 3-Clause BSD License. See accompanying -// file LICENSE or https://github.com/CLIUtils/CLI11 for details. +#pragma once #include #include diff --git a/include/CLI/ConfigFwd.hpp b/include/CLI/ConfigFwd.hpp index 6dcc572..369458f 100644 --- a/include/CLI/ConfigFwd.hpp +++ b/include/CLI/ConfigFwd.hpp @@ -1,7 +1,10 @@ -#pragma once +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner +// under NSF AWARD 1414736 and by the respective contributors. +// All rights reserved. +// +// SPDX-License-Identifier: BSD-3-Clause -// Distributed under the 3-Clause BSD License. See accompanying -// file LICENSE or https://github.com/CLIUtils/CLI11 for details. +#pragma once #include #include diff --git a/include/CLI/Error.hpp b/include/CLI/Error.hpp index 4d6eaab..6d09c97 100644 --- a/include/CLI/Error.hpp +++ b/include/CLI/Error.hpp @@ -1,7 +1,10 @@ -#pragma once +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner +// under NSF AWARD 1414736 and by the respective contributors. +// All rights reserved. +// +// SPDX-License-Identifier: BSD-3-Clause -// Distributed under the 3-Clause BSD License. See accompanying -// file LICENSE or https://github.com/CLIUtils/CLI11 for details. +#pragma once #include #include diff --git a/include/CLI/Formatter.hpp b/include/CLI/Formatter.hpp index c19a7e4..748fcb3 100644 --- a/include/CLI/Formatter.hpp +++ b/include/CLI/Formatter.hpp @@ -1,7 +1,10 @@ -#pragma once +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner +// under NSF AWARD 1414736 and by the respective contributors. +// All rights reserved. +// +// SPDX-License-Identifier: BSD-3-Clause -// Distributed under the 3-Clause BSD License. See accompanying -// file LICENSE or https://github.com/CLIUtils/CLI11 for details. +#pragma once #include #include diff --git a/include/CLI/FormatterFwd.hpp b/include/CLI/FormatterFwd.hpp index b7577f9..1dda9e1 100644 --- a/include/CLI/FormatterFwd.hpp +++ b/include/CLI/FormatterFwd.hpp @@ -1,7 +1,10 @@ -#pragma once +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner +// under NSF AWARD 1414736 and by the respective contributors. +// All rights reserved. +// +// SPDX-License-Identifier: BSD-3-Clause -// Distributed under the 3-Clause BSD License. See accompanying -// file LICENSE or https://github.com/CLIUtils/CLI11 for details. +#pragma once #include #include diff --git a/include/CLI/Macros.hpp b/include/CLI/Macros.hpp index f7a2665..44e7098 100644 --- a/include/CLI/Macros.hpp +++ b/include/CLI/Macros.hpp @@ -1,7 +1,10 @@ -#pragma once +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner +// under NSF AWARD 1414736 and by the respective contributors. +// All rights reserved. +// +// SPDX-License-Identifier: BSD-3-Clause -// Distributed under the 3-Clause BSD License. See accompanying -// file LICENSE or https://github.com/CLIUtils/CLI11 for details. +#pragma once // [CLI11:verbatim] diff --git a/include/CLI/Option.hpp b/include/CLI/Option.hpp index bcc88e0..c1ab023 100644 --- a/include/CLI/Option.hpp +++ b/include/CLI/Option.hpp @@ -1,7 +1,10 @@ -#pragma once +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner +// under NSF AWARD 1414736 and by the respective contributors. +// All rights reserved. +// +// SPDX-License-Identifier: BSD-3-Clause -// Distributed under the 3-Clause BSD License. See accompanying -// file LICENSE or https://github.com/CLIUtils/CLI11 for details. +#pragma once #include #include diff --git a/include/CLI/Split.hpp b/include/CLI/Split.hpp index 32c20eb..3994c27 100644 --- a/include/CLI/Split.hpp +++ b/include/CLI/Split.hpp @@ -1,7 +1,10 @@ -#pragma once +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner +// under NSF AWARD 1414736 and by the respective contributors. +// All rights reserved. +// +// SPDX-License-Identifier: BSD-3-Clause -// Distributed under the 3-Clause BSD License. See accompanying -// file LICENSE or https://github.com/CLIUtils/CLI11 for details. +#pragma once #include #include diff --git a/include/CLI/StringTools.hpp b/include/CLI/StringTools.hpp index b943eb4..903af10 100644 --- a/include/CLI/StringTools.hpp +++ b/include/CLI/StringTools.hpp @@ -1,7 +1,10 @@ -#pragma once +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner +// under NSF AWARD 1414736 and by the respective contributors. +// All rights reserved. +// +// SPDX-License-Identifier: BSD-3-Clause -// Distributed under the 3-Clause BSD License. See accompanying -// file LICENSE or https://github.com/CLIUtils/CLI11 for details. +#pragma once #include #include diff --git a/include/CLI/Timer.hpp b/include/CLI/Timer.hpp index cc2ba8b..1177bc1 100644 --- a/include/CLI/Timer.hpp +++ b/include/CLI/Timer.hpp @@ -1,7 +1,10 @@ -#pragma once +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner +// under NSF AWARD 1414736 and by the respective contributors. +// All rights reserved. +// +// SPDX-License-Identifier: BSD-3-Clause -// Distributed under the 3-Clause BSD License. See accompanying -// file LICENSE or https://github.com/CLIUtils/CLI11 for details. +#pragma once // On GCC < 4.8, the following define is often missing. Due to the // fact that this library only uses sleep_for, this should be safe diff --git a/include/CLI/TypeTools.hpp b/include/CLI/TypeTools.hpp index 023edd7..115235b 100644 --- a/include/CLI/TypeTools.hpp +++ b/include/CLI/TypeTools.hpp @@ -1,7 +1,10 @@ -#pragma once +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner +// under NSF AWARD 1414736 and by the respective contributors. +// All rights reserved. +// +// SPDX-License-Identifier: BSD-3-Clause -// Distributed under the 3-Clause BSD License. See accompanying -// file LICENSE or https://github.com/CLIUtils/CLI11 for details. +#pragma once #include "StringTools.hpp" #include diff --git a/include/CLI/Validators.hpp b/include/CLI/Validators.hpp index 9c7fd53..1159e53 100644 --- a/include/CLI/Validators.hpp +++ b/include/CLI/Validators.hpp @@ -1,7 +1,10 @@ -#pragma once +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner +// under NSF AWARD 1414736 and by the respective contributors. +// All rights reserved. +// +// SPDX-License-Identifier: BSD-3-Clause -// Distributed under the 3-Clause BSD License. See accompanying -// file LICENSE or https://github.com/CLIUtils/CLI11 for details. +#pragma once #include "CLI/Macros.hpp" #include "CLI/StringTools.hpp" diff --git a/include/CLI/Version.hpp b/include/CLI/Version.hpp index 5e7ceec..3bfd889 100644 --- a/include/CLI/Version.hpp +++ b/include/CLI/Version.hpp @@ -1,7 +1,10 @@ -#pragma once +// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner +// under NSF AWARD 1414736 and by the respective contributors. +// All rights reserved. +// +// SPDX-License-Identifier: BSD-3-Clause -// Distributed under the 3-Clause BSD License. See accompanying -// file LICENSE or https://github.com/CLIUtils/CLI11 for details. +#pragma once // [CLI11:verbatim]