File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -12,11 +12,11 @@ import (
1212var usageStr = `
1313Usage: toc [options]
1414Options:
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
You can’t perform that action at this time.
0 commit comments