Command line options fixup

This commit is contained in:
aristocratos 2021-09-18 17:33:02 +02:00
parent e170971b88
commit 3b80ef9e40
2 changed files with 2 additions and 2 deletions

View File

@ -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 <id>] [--utf-force] [--debug]
optional arguments:
-h, --help show this help message and exit

View File

@ -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 <id>] [--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"