Skip to content

Commit 4f0ad1e

Browse files
authored
Improve top-level help formatting (#69)
1 parent 9dafc93 commit 4f0ad1e

1 file changed

Lines changed: 19 additions & 11 deletions

File tree

src/help.zig

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,25 @@ pub const overview =
2323
\\ boo <command> [arguments]
2424
\\
2525
\\commands:
26-
\\ new [name] [-d] [-- cmd...] start a session (attach unless -d)
27-
\\ attach, at, a <name> attach a session (steals politely)
28-
\\ ui, i manage sessions in a full-screen UI
29-
\\ ls [--json] list sessions
30-
\\ send <name> [flags] type into a session
31-
\\ peek <name> print the session's screen
32-
\\ wait <name> block until output matches or settles
33-
\\ kill <name | --all> end a session, or all of them
34-
\\ rename <name> <new-name> rename a session
35-
\\ version print the version
36-
\\ help [page] this overview, or detailed help
26+
\\
27+
\\ Session Management
28+
\\ new [name] [-d] [-- cmd...] start a session (attach unless -d)
29+
\\ attach, at, a <name> attach a session (steals politely)
30+
\\ ui, i manage sessions in a full-screen UI
31+
\\ ls [--json] list sessions
32+
\\
33+
\\ Interaction
34+
\\ send <name> [flags] type into a session
35+
\\ peek <name> print the session's screen
36+
\\ wait <name> block until output matches or settles
37+
\\
38+
\\ Administration
39+
\\ kill <name | --all> end a session, or all of them
40+
\\ rename <name> <new-name> rename a session
41+
\\
42+
\\ Information
43+
\\ version print the version
44+
\\ help [page] this overview, or detailed help
3745
\\
3846
\\Run 'boo help <command>' for flags and examples, 'boo help keys'
3947
\\for the key bindings inside a session, 'boo help automation' for

0 commit comments

Comments
 (0)