From 3b80ef9e40aeb2f9c8924c8aa75108b47b217c9a Mon Sep 17 00:00:00 2001 From: aristocratos Date: Sat, 18 Sep 2021 17:33:02 +0200 Subject: [PATCH] Command line options fixup --- README.md | 2 +- src/btop.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 345e78b..f7443ab 100644 --- a/README.md +++ b/README.md @@ -476,7 +476,7 @@ log_level = "DEBUG" #### Command line options ```text -usage: btop [-h] [-v] [-/+t] [--utf-force] [--debug] +usage: btop [-h] [-v] [-/+t] [-p ] [--utf-force] [--debug] optional arguments: -h, --help show this help message and exit diff --git a/src/btop.cpp b/src/btop.cpp index 891e6a3..2f0f60d 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-force] [--debug]\n\n" + cout << "usage: btop [-h] [-v] [-/+t] [-p ] [--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"