Commit 3bce0a39a68968265690c81f47f0139056acae95
Clarify argument groups
cel committed on 9/24/2018, 11:55:07 PMParent: f60b29a13eed7000f63ab0b62b1532c402552861
Files changed
sbotc.1 | changed |
sbotc.c | changed |
sbotc.1 | ||
---|---|---|
@@ -8,15 +8,24 @@ | ||
8 | 8 … | .Sh SYNOPSIS |
9 | 9 … | .Nm |
10 | 10 … | .Op Fl j |
11 | 11 … | .Op Fl T |
12 … | +. | |
13 … | +.Oo | |
12 | 14 … | .Op Fl n |
15 … | +| | |
13 | 16 … | .Op Fl c Ar cap |
17 … | +.Op Fl k Ar key | |
18 … | +.Op Fl K Ar keypair_seed | |
19 … | +.Oc | |
20 … | +. | |
21 … | +.Oo | |
14 | 22 … | .Op Fl s Ar host |
15 | 23 … | .Op Fl p Ar port |
24 … | +| | |
16 | 25 … | .Op Fl u Ar socket_path |
17 | -.Op Fl k Ar key | |
18 | -.Op Fl K Ar keypair_seed | |
26 … | +.Oc | |
27 … | +. | |
19 | 28 … | .Op Fl t Ar type |
20 | 29 … | .Ar method |
21 | 30 … | .Op Ar argument ... |
22 | 31 … | .Sh DESCRIPTION |
sbotc.c | ||
---|---|---|
@@ -96,9 +96,11 @@ | ||
96 | 96 … | 0x08, 0x39, 0xb7, 0x55, 0x84, 0x5a, 0x9f, 0xfb |
97 | 97 … | }; |
98 | 98 … | |
99 | 99 … | static void usage() { |
100 | - fputs("usage: sbotc [-j] [-T] [-n] [-c <cap>] [-s <host>] [-p <port>] [-u <socket_path>] [-k <key>] [-K <keypair_seed>]\n" | |
100 … | + fputs("usage: sbotc [-j] [-T]\n" | |
101 … | + " [ [-n] | [-c <cap>] [-k <key>] [-K <keypair_seed>] ]\n" | |
102 … | + " [ [-s <host>] [-p <port>] | [-u <socket_path>] ]\n" | |
101 | 103 … | " [-t <type>] <method> [<argument>...]\n", stderr); |
102 | 104 … | exit(EXIT_FAILURE); |
103 | 105 … | } |
104 | 106 … |
Built with git-ssb-web