Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc,comment: modified heading in doc.go #63

Merged
merged 1 commit into from
Oct 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ All command line arguments after `--` are command arguments, even they starts wi
cmd.OptArgs("y") // []
cmd.OptArgs("z") // [2 3]

## Parses with configurations
# Parses with configurations

The Cmd struct has the method ParseWith which parses command line arguments with configurations.

Expand Down Expand Up @@ -120,7 +120,7 @@ In addition,the help printing for an array of OptCfg is generated with Help.
// --foo-bar, -f This is description of foo-bar.
// --baz, -z <text> This is description of baz.

## Parse for a OptStore struct
# Parse for a OptStore struct

The Cmd struct has the method ParseFor which parses command line arguments and set their option
values to the option store which is passed as an argument.
Expand Down Expand Up @@ -235,7 +235,7 @@ like `optcfg:"name="`.
// This is description of baz.
// --qux This is description of qux.

## Parse command line arguments including sub command
# Parse command line arguments including sub command

This module provides methods Cmd#parseUntilSubCmd, Cmd#parseUntilSubCmdWith, and
Cmd#parseUntilSubCmdFor for parsing command line arguments including sub commands.
Expand Down
Loading