diff --git a/examples/complete.cpp b/examples/complete.cpp index b7bac55..5f97ac7 100644 --- a/examples/complete.cpp +++ b/examples/complete.cpp @@ -1,6 +1,6 @@ /******************************************************************************* * CLI - A simple command line interface. - * Copyright (C) Daniele Pallastrelli + * Copyright (C) 2016 Daniele Pallastrelli * * Boost Software License - Version 1.0 - August 17th, 2003 * @@ -67,7 +67,7 @@ int main() "Print the file descriptor specified", {"file_descriptor"} ); rootMenu -> Insert( - "reverse", {"string_to_revers"}, + "reverse", {"string_to_revert"}, [](std::ostream& out, const string& arg) { string copy(arg); diff --git a/examples/filesession.cpp b/examples/filesession.cpp index 9f77256..49f5217 100644 --- a/examples/filesession.cpp +++ b/examples/filesession.cpp @@ -1,6 +1,6 @@ /******************************************************************************* * CLI - A simple command line interface. - * Copyright (C) Daniele Pallastrelli + * Copyright (C) 2019 Daniele Pallastrelli * * Boost Software License - Version 1.0 - August 17th, 2003 * diff --git a/examples/pluginmanager.cpp b/examples/pluginmanager.cpp index 18b1ae1..9151a16 100644 --- a/examples/pluginmanager.cpp +++ b/examples/pluginmanager.cpp @@ -194,7 +194,7 @@ class Strings : public RegisteredPlugin { auto subMenu = make_unique(Name()); subMenu -> Insert( - "reverse", {"string_to_revers"}, + "reverse", {"string_to_revert"}, [](std::ostream& out, const string& arg) { string copy(arg); diff --git a/examples/simplelocalsession.cpp b/examples/simplelocalsession.cpp index 9d45f74..538292c 100644 --- a/examples/simplelocalsession.cpp +++ b/examples/simplelocalsession.cpp @@ -1,6 +1,6 @@ /******************************************************************************* * CLI - A simple command line interface. - * Copyright (C) 2016-2018 Daniele Pallastrelli + * Copyright (C) 2016 Daniele Pallastrelli * * Boost Software License - Version 1.0 - August 17th, 2003 * diff --git a/include/cli/cli.h b/include/cli/cli.h index f121c63..9f0c042 100644 --- a/include/cli/cli.h +++ b/include/cli/cli.h @@ -35,6 +35,7 @@ #include #include #include +#include // std::isspace #include #include #include "colorprofile.h" diff --git a/test/makefile.win32 b/test/makefile.win32 index 6903a87..55079e0 100644 --- a/test/makefile.win32 +++ b/test/makefile.win32 @@ -68,7 +68,7 @@ EXE_OBJ_FILES= \ test_commonprefix.obj \ driver.obj -.PHONY: all mainapp plugin1 plugin2 test clean +.PHONY: all mainapp test clean # create directories and build application all: clean mainapp test