Skip to content

Commit

Permalink
Fixed some typos (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
illukin authored Feb 8, 2023
1 parent 31ff1b9 commit 484bd3b
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm

## [1.2.1] - 2020-08-27

- With Boost >= 1.74 use TS exectuor by default (issue [#79](https://github.com/daniele77/cli/issues/79))
- With Boost >= 1.74 use TS executor by default (issue [#79](https://github.com/daniele77/cli/issues/79))
- Standard and custom exception handler for cli commands (issue [#74](https://github.com/daniele77/cli/issues/74))

## [1.2.0] - 2020-06-27
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ In any menu, you can enter:
- `exit`: to exit the cli
- `help`: to print the list of the commands available with a description
- a submenu name: to enter the submenu
- the parent menu name: to return to the the parent menu
- the parent menu name: to return to the parent menu
- a command in the current menu: to exec the command
- a command in a submenu (using the full path): to exec the command

Expand Down Expand Up @@ -235,7 +235,7 @@ because they internally use `boost::asio` and `asio`.
You should use one of them also if your application uses `asio` in some way.

After setting up your application, you must call `Scheduler::Run()`
to enter the scheduler loop. Each comamnd handler of the library
to enter the scheduler loop. Each command handler of the library
will execute in the thread that called `Scheduler::Run()`.

You can exit the scheduler loop by calling `Scheduler::Stop()`
Expand Down
4 changes: 2 additions & 2 deletions examples/asyncsession.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,11 @@ int main()
}
catch (const std::exception& e)
{
cerr << "Exception caugth in main: " << e.what() << '\n';
cerr << "Exception caught in main: " << e.what() << '\n';
}
catch (...)
{
cerr << "Unknown exception caugth in main.\n";
cerr << "Unknown exception caught in main.\n";
}
return -1;
}
2 changes: 1 addition & 1 deletion include/cli/cli.h
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ namespace cli
* @brief Construct a new Cli object having a given root menu that contains the first level commands available.
*
* @param _rootMenu is the @c Menu containing the first level commands available to the user.
* @param historyStorage is the policy for the storage of the cli commands history. You must pass an istance of
* @param historyStorage is the policy for the storage of the cli commands history. You must pass an instance of
* a class derived from @c HistoryStorage. The library provides these policies:
* - @c VolatileHistoryStorage
* - @c FileHistoryStorage it's a persistent history. I.e., the command history is preserved after your application
Expand Down
2 changes: 1 addition & 1 deletion include/cli/detail/terminal.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class Terminal
<< std::string(position, '\b') << newLine
<< afterInput << std::flush;

// if newLine is shorter then currentLine, we have
// if newLine is shorter than currentLine, we have
// to clear the rest of the string
if (newLine.size() < currentLine.size())
{
Expand Down

0 comments on commit 484bd3b

Please sign in to comment.