Skip to content

Commit 279f3d9

Browse files
committed
chore: update usage string
1 parent 663b2b1 commit 279f3d9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

config/options.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ import (
1212
var usageStr = `
1313
Usage: toc [options]
1414
Options:
15-
-p, --path <path> Path for the markdown file.
16-
-a, --append Append toc after <!--toc-->, or write to stdout.
17-
-b, --bulleted Write as bulleted, or write as numbered list.
18-
-s, --skip Skip the first given number of headers.
19-
-d, --depth Set the number of maximum heading level to be included.
15+
-p, --path <path> Path for the markdown file. [REQUIRED]
16+
-a, --append <bool> Append toc after <!--toc-->, or write to stdout. [Default: true]
17+
-b, --bulleted <bool> Write as bulleted, or write as numbered list. [Default: true]
18+
-s, --skip <int> Skip the first given number of headers. [Default: 0]
19+
-d, --depth <int> Set the number of maximum heading level to be included. [Default: 6]
2020
-h, --help Show this message and exit.
2121
`
2222

0 commit comments

Comments
 (0)