Skip to content

Commit

Permalink
docs: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Mmx233 committed Oct 24, 2024
1 parent 24fd031 commit 932188d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ Flags:
--[no-]extra-arches-show-default
Show default extra arch name.
-d, --output="build" Output dir path.
-f, --output-format=OUTPUT-FORMAT
Output file name format.
-o, --name=NAME Output binary file name.
--divider="-" Divider in name.

Expand Down
2 changes: 2 additions & 0 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ Flags:
--[no-]extra-arches-show-default
Show default extra arch name.
-d, --output="build" Output dir path.
-f, --output-format=OUTPUT-FORMAT
Output file name format.
-o, --name=NAME Output binary file name.
--divider="-" Divider in name.

Expand Down
2 changes: 1 addition & 1 deletion internal/global/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func NewCommands(version string) *kingpin.Application {
app.Flag("extra-arches-show-default", "Show default extra arch name.").BoolVar(&Config.ExtraArchesShowDefault)

app.Flag("output", "Output dir path.").Short('d').Default("build").StringVar(&Config.Output)
app.Flag("output-format", "Output file name format").Short('f').EnumVar(&Config.OutputFormat, "", "post")
app.Flag("output-format", "Output file name format.").Short('f').EnumVar(&Config.OutputFormat, "", "post")
app.Flag("name", "Output binary file name.").Short('o').StringVar(&Config.Name)
app.Flag("divider", "Divider in name.").Default("_").StringVar(&Config.Divider)
app.Arg("target", "Target package.").Required().StringVar(&Config.Target)
Expand Down

0 comments on commit 932188d

Please sign in to comment.