mirror of
https://github.com/aristocratos/btop.git
synced 2024-09-28 14:11:35 +02:00
Command line options fixup
This commit is contained in:
parent
e170971b88
commit
3b80ef9e40
@ -476,7 +476,7 @@ log_level = "DEBUG"
|
|||||||
#### Command line options
|
#### Command line options
|
||||||
|
|
||||||
```text
|
```text
|
||||||
usage: btop [-h] [-v] [-/+t] [--utf-force] [--debug]
|
usage: btop [-h] [-v] [-/+t] [-p <id>] [--utf-force] [--debug]
|
||||||
|
|
||||||
optional arguments:
|
optional arguments:
|
||||||
-h, --help show this help message and exit
|
-h, --help show this help message and exit
|
||||||
|
@ -92,7 +92,7 @@ void argumentParser(const int& argc, char **argv) {
|
|||||||
for(int i = 1; i < argc; i++) {
|
for(int i = 1; i < argc; i++) {
|
||||||
const string argument = argv[i];
|
const string argument = argv[i];
|
||||||
if (is_in(argument, "-h", "--help")) {
|
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"
|
<< "optional arguments:\n"
|
||||||
<< " -h, --help show this help message and exit\n"
|
<< " -h, --help show this help message and exit\n"
|
||||||
<< " -v, --version show version info and exit\n"
|
<< " -v, --version show version info and exit\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user