diff options
author | Michael Pyne <mpyne@purinchu.net> | 2021-09-18 10:58:03 -0400 |
---|---|---|
committer | Michael Pyne <mpyne@purinchu.net> | 2021-09-18 10:58:51 -0400 |
commit | 97726f3fa74c716b1c75521d7fcfdfee5a58eb9a (patch) | |
tree | 8059b02c2ab4df92a358ca0f91ab58dc3ae5d2d3 | |
parent | 480b4218523782fa9eef943bdcfbda7b4c65da0e (diff) |
Fix documentation of --utf-force in README and --help.
Fixes #1.
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | src/btop.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -476,7 +476,7 @@ log_level = "DEBUG" #### Command line options ```text -usage: btop [-h] [-v] [-/+t] [--utf-foce] [--debug] +usage: btop [-h] [-v] [-/+t] [--utf-force] [--debug] optional arguments: -h, --help show this help message and exit @@ -485,7 +485,7 @@ optional arguments: -t, --tty_on force (ON) tty mode, max 16 colors and tty friendly graph symbols +t, --tty_off force (OFF) tty mode -p --preset <id> start with preset, integer value between 0-9 - --utf-foce force start even if no UTF-8 locale was detected + --utf-force force start even if no UTF-8 locale was detected --debug start in DEBUG mode: shows microsecond timer for information collect and screen draw functions and sets loglevel to DEBUG ``` diff --git a/src/btop.cpp b/src/btop.cpp index d6cd662..891e6a3 100644 --- a/src/btop.cpp +++ b/src/btop.cpp @@ -92,7 +92,7 @@ void argumentParser(const int& argc, char **argv) { for(int i = 1; i < argc; i++) { const string argument = argv[i]; if (is_in(argument, "-h", "--help")) { - cout << "usage: btop [-h] [-v] [-/+t] [--utf-foce] [--debug]\n\n" + cout << "usage: btop [-h] [-v] [-/+t] [--utf-force] [--debug]\n\n" << "optional arguments:\n" << " -h, --help show this help message and exit\n" << " -v, --version show version info and exit\n" @@ -100,7 +100,7 @@ void argumentParser(const int& argc, char **argv) { << " -t, --tty_on force (ON) tty mode, max 16 colors and tty friendly graph symbols\n" << " +t, --tty_off force (OFF) tty mode\n" << " -p --preset <id> start with preset, integer value between 0-9\n" - << " --utf-foce force start even if no UTF-8 locale was detected\n" + << " --utf-force force start even if no UTF-8 locale was detected\n" << " --debug start in DEBUG mode: shows microsecond timer for information collect\n" << " and screen draw functions and sets loglevel to DEBUG\n" << endl; |