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

From:
Omar Polo <op@omarpolo.com>
Subject:
tog.1: document global options earlier
To:
gameoftrees@openbsd.org
Date:
Sun, 02 Oct 2022 17:01:49 +0200

Download raw body.

Thread
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?

diff /tmp/tog
commit - e02b422b6f7736de0e851b3f8fad812e77e9c6b4
path + /tmp/tog
blob - c3488dc79dfbff68596199641118d5f73ffdc650
file + tog.1
--- tog.1
+++ tog.1
@@ -33,6 +33,14 @@ This repository format is described in
 This repository format is described in
 .Xr git-repository 5 .
 .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
 .Nm
 supports several types of views which display repository data:
 .Bl -tag -width Ds
@@ -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: