"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Stefan Sperling <stsp@stsp.name>
Subject:
Re: tog.1: document global options earlier
To:
Omar Polo <op@omarpolo.com>
Cc:
gameoftrees@openbsd.org
Date:
Tue, 4 Oct 2022 12:36:18 +0200

Download raw body.

Thread
On Sun, Oct 02, 2022 at 05:01:49PM +0200, Omar Polo wrote:
> noticed while fixing the SYNOPSIS.  I think that it makes more sense
> to document -h and -V before the list of global keybindings, but
> perhaps I'm moving the section too early?

If you want to move this paragraph up then I'd suggest to put it here:

diff /home/stsp/src/got
commit - e02b422b6f7736de0e851b3f8fad812e77e9c6b4
path + /home/stsp/src/got
blob - c3488dc79dfbff68596199641118d5f73ffdc650
file + tog/tog.1
--- tog/tog.1
+++ tog/tog.1
@@ -67,6 +67,14 @@ The global key bindings are:
 or
 .Cm Backspace .
 .Pp
+Global options must precede the command name, and are as follows:
+.Bl -tag -width tenletters
+.It Fl h
+Display usage information.
+.It Fl V , -version
+Display program version and exit immediately.
+.El
+.Pp
 The global key bindings are:
 .Bl -tag -width Ds
 .It Cm H, F1
@@ -106,14 +114,6 @@ Global options must precede the command name, and are 
 Go to line N in the view (default: first line).
 .El
 .Pp
-Global options must precede the command name, and are as follows:
-.Bl -tag -width tenletters
-.It Fl h
-Display usage information.
-.It Fl V , -version
-Display program version and exit immediately.
-.El
-.Pp
 The commands for
 .Nm
 are as follows: