summaryrefslogtreecommitdiffstats
path: root/htop.c
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2020-11-18 13:59:36 +0100
committerChristian Göttsche <cgzones@googlemail.com>2020-11-18 13:59:36 +0100
commitf720868998604b67fbda0e0c2f38fa714e91027f (patch)
tree378435b0c611f6616afcdb169b867dca05436cf6 /htop.c
parent0eb3c7589d6cce7c1e6d78d0abd019362a69061f (diff)
Align command line argument descriptions in help output
Also drop #link comment
Diffstat (limited to 'htop.c')
-rw-r--r--htop.c21
1 files changed, 10 insertions, 11 deletions
diff --git a/htop.c b/htop.c
index 1bbdd50a..49b22b4b 100644
--- a/htop.c
+++ b/htop.c
@@ -40,7 +40,6 @@ in the source distribution for its full text.
#include <sensors/sensors.h>
#endif
-//#link m
static void printVersionFlag(void) {
fputs("htop " VERSION "\n", stdout);
@@ -50,18 +49,18 @@ static void printHelpFlag(void) {
fputs("htop " VERSION "\n"
COPYRIGHT "\n"
"Released under the GNU GPLv2.\n\n"
- "-C --no-color Use a monochrome color scheme\n"
- "-d --delay=DELAY Set the delay between updates, in tenths of seconds\n"
- "-F --filter=FILTER Show only the commands matching the given filter\n"
- "-h --help Print this help screen\n"
+ "-C --no-color Use a monochrome color scheme\n"
+ "-d --delay=DELAY Set the delay between updates, in tenths of seconds\n"
+ "-F --filter=FILTER Show only the commands matching the given filter\n"
+ "-h --help Print this help screen\n"
"-H --highlight-changes[=DELAY] Highlight new and old processes\n"
- "-M --no-mouse Disable the mouse\n"
+ "-M --no-mouse Disable the mouse\n"
"-p --pid=PID[,PID,PID...] Show only the given PIDs\n"
- "-s --sort-key=COLUMN Sort by COLUMN (try --sort-key=help for a list)\n"
- "-t --tree Show the tree view by default\n"
- "-u --user[=USERNAME] Show only processes for a given user (or $USER)\n"
- "-U --no-unicode Do not use unicode but plain ASCII\n"
- "-V --version Print version info\n"
+ "-s --sort-key=COLUMN Sort by COLUMN (try --sort-key=help for a list)\n"
+ "-t --tree Show the tree view by default\n"
+ "-u --user[=USERNAME] Show only processes for a given user (or $USER)\n"
+ "-U --no-unicode Do not use unicode but plain ASCII\n"
+ "-V --version Print version info\n"
"\n"
"Long options may be passed with a single dash.\n\n"
"Press F1 inside htop for online help.\n"

© 2014-2024 Faster IT GmbH | imprint | privacy policy