diff options
author | Daniel Lange <DLange@git.local> | 2021-01-08 21:34:30 +0100 |
---|---|---|
committer | Daniel Lange <DLange@git.local> | 2021-01-08 21:34:30 +0100 |
commit | 4979245aa569154897e941867420a94740213689 (patch) | |
tree | 7cc2249f7cc4c49a367ecddf137faa83bca3d332 | |
parent | 0155980fd6a841f499670c603eb836dd6ed2c7ed (diff) |
Update help and man page for improved -t / -s options
-rw-r--r-- | htop.1.in | 6 | ||||
-rw-r--r-- | htop.c | 4 |
2 files changed, 6 insertions, 4 deletions
@@ -42,7 +42,8 @@ Display a help message and exit Show only the given PIDs .TP \fB\-s \-\-sort\-key COLUMN\fR -Sort by this column (use \-\-sort\-key help for a column list) +Sort by this column (use \-\-sort\-key help for a column list). +This will force a list view unless you specify -t at the same time. .TP \fB\-u \-\-user=USERNAME\fR Show only the processes of a given user @@ -57,7 +58,8 @@ Disable support of mouse control Output version information and exit .TP \fB\-t \-\-tree -Show processes in tree view +Show processes in tree view. This can be used to force a tree view when +requesting a sort order with -s. .TP \fB\-H \-\-highlight-changes=DELAY\fR Highlight new and old processes @@ -49,8 +49,8 @@ static void printHelpFlag(void) { "-H --highlight-changes[=DELAY] Highlight new and old processes\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" + "-s --sort-key=COLUMN Sort by COLUMN in list view (try --sort-key=help for a list)\n" + "-t --tree Show the tree view (can be combined with -s)\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" |