mirror of https://github.com/xzeldon/htop.git
Align command line argument descriptions in help output
Also drop #link comment
This commit is contained in:
parent
0eb3c7589d
commit
f720868998
21
htop.c
21
htop.c
|
@ -40,7 +40,6 @@ in the source distribution for its full text.
|
||||||
#include <sensors/sensors.h>
|
#include <sensors/sensors.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#link m
|
|
||||||
|
|
||||||
static void printVersionFlag(void) {
|
static void printVersionFlag(void) {
|
||||||
fputs("htop " VERSION "\n", stdout);
|
fputs("htop " VERSION "\n", stdout);
|
||||||
|
@ -50,18 +49,18 @@ static void printHelpFlag(void) {
|
||||||
fputs("htop " VERSION "\n"
|
fputs("htop " VERSION "\n"
|
||||||
COPYRIGHT "\n"
|
COPYRIGHT "\n"
|
||||||
"Released under the GNU GPLv2.\n\n"
|
"Released under the GNU GPLv2.\n\n"
|
||||||
"-C --no-color Use a monochrome color scheme\n"
|
"-C --no-color Use a monochrome color scheme\n"
|
||||||
"-d --delay=DELAY Set the delay between updates, in tenths of seconds\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"
|
"-F --filter=FILTER Show only the commands matching the given filter\n"
|
||||||
"-h --help Print this help screen\n"
|
"-h --help Print this help screen\n"
|
||||||
"-H --highlight-changes[=DELAY] Highlight new and old processes\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"
|
"-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"
|
"-s --sort-key=COLUMN Sort by COLUMN (try --sort-key=help for a list)\n"
|
||||||
"-t --tree Show the tree view by default\n"
|
"-t --tree Show the tree view by default\n"
|
||||||
"-u --user[=USERNAME] Show only processes for a given user (or $USER)\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"
|
"-U --no-unicode Do not use unicode but plain ASCII\n"
|
||||||
"-V --version Print version info\n"
|
"-V --version Print version info\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Long options may be passed with a single dash.\n\n"
|
"Long options may be passed with a single dash.\n\n"
|
||||||
"Press F1 inside htop for online help.\n"
|
"Press F1 inside htop for online help.\n"
|
||||||
|
|
Loading…
Reference in New Issue