Skip to content

Commit 4000aaf

Browse files
authoredOct 14, 2024··
doc,comment: modified heading in doc.go (#63)
1 parent 3c3d5cc commit 4000aaf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎doc.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ All command line arguments after `--` are command arguments, even they starts wi
3838
cmd.OptArgs("y") // []
3939
cmd.OptArgs("z") // [2 3]
4040
41-
## Parses with configurations
41+
# Parses with configurations
4242
4343
The Cmd struct has the method ParseWith which parses command line arguments with configurations.
4444
@@ -120,7 +120,7 @@ In addition,the help printing for an array of OptCfg is generated with Help.
120120
// --foo-bar, -f This is description of foo-bar.
121121
// --baz, -z <text> This is description of baz.
122122
123-
## Parse for a OptStore struct
123+
# Parse for a OptStore struct
124124
125125
The Cmd struct has the method ParseFor which parses command line arguments and set their option
126126
values to the option store which is passed as an argument.
@@ -235,7 +235,7 @@ like `optcfg:"name="`.
235235
// This is description of baz.
236236
// --qux This is description of qux.
237237
238-
## Parse command line arguments including sub command
238+
# Parse command line arguments including sub command
239239
240240
This module provides methods Cmd#parseUntilSubCmd, Cmd#parseUntilSubCmdWith, and
241241
Cmd#parseUntilSubCmdFor for parsing command line arguments including sub commands.

0 commit comments

Comments
 (0)
Please sign in to comment.