summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmc <jmc>2022-11-10 22:58:39 +0000
committerjmc <jmc>2022-11-10 22:58:39 +0000
commit48f41e4a411dc8dc77514e211293365ee8394792 (patch)
tree127eded67fcff473a78fdfeefb8db2a47e726556
parentf86eba21294b61f410300b0c9a8920cb155ab738 (diff)
- sort options; from josiah frentsos
ok nicm - add -N to SYNOPSIS - sort usage()
-rw-r--r--tmux.122
-rw-r--r--tmux.c2
2 files changed, 12 insertions, 12 deletions
diff --git a/tmux.1 b/tmux.1
index 36faf683..887608cb 100644
--- a/tmux.1
+++ b/tmux.1
@@ -23,7 +23,7 @@
.Sh SYNOPSIS
.Nm tmux
.Bk -words
-.Op Fl 2CDluvV
+.Op Fl 2CDlNuVv
.Op Fl c Ar shell-command
.Op Fl f Ar file
.Op Fl L Ar socket-name
@@ -203,6 +203,12 @@ If
is specified, the default socket directory is not used and any
.Fl L
flag is ignored.
+.It Fl T Ar features
+Set terminal features for the client.
+This is a comma-separated list of features.
+See the
+.Ic terminal-features
+option.
.It Fl u
Write UTF-8 output to the terminal even if the first environment
variable of
@@ -214,12 +220,10 @@ that is set does not contain
.Qq UTF-8
or
.Qq UTF8 .
-.It Fl T Ar features
-Set terminal features for the client.
-This is a comma-separated list of features.
-See the
-.Ic terminal-features
-option.
+.It Fl V
+Report the
+.Nm
+version.
.It Fl v
Request verbose logging.
Log messages will be saved into
@@ -244,10 +248,6 @@ signal may be sent to the
server process to toggle logging between on (as if
.Fl v
was given) and off.
-.It Fl V
-Report the
-.Nm
-version.
.It Ar command Op Ar flags
This specifies one of a set of commands used to control
.Nm ,
diff --git a/tmux.c b/tmux.c
index ceaa99da..0d752221 100644
--- a/tmux.c
+++ b/tmux.c
@@ -57,7 +57,7 @@ static __dead void
usage(void)
{
fprintf(stderr,
- "usage: %s [-2CDlNuvV] [-c shell-command] [-f file] [-L socket-name]\n"
+ "usage: %s [-2CDlNuVv] [-c shell-command] [-f file] [-L socket-name]\n"
" [-S socket-path] [-T features] [command [flags]]\n",
getprogname());
exit(1);