Skip to content

Commit 44d44b8

Browse files
authored
Merge branch 'main' into update-readme
2 parents 31e05e9 + d52a4d3 commit 44d44b8

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

cmd/godog/internal/cmd_run.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ buildable go source.`,
3232
feature (*.feature)
3333
scenario at specific line (*.feature:10)
3434
If no feature arguments are supplied, godog will use "features/" by default.`,
35-
RunE: runCmdRunFunc,
35+
RunE: runCmdRunFunc,
36+
SilenceUsage: true,
3637
}
3738

3839
flags.BindRunCmdFlags("", runCmd.Flags(), &opts)

cmd/godog/internal/cmd_version.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ func CreateVersionCmd() cobra.Command {
1414
versionCmd := cobra.Command{
1515
Use: "version",
1616
Short: "Show current version",
17+
Run: versionCmdRunFunc,
1718
Version: godog.Version,
1819
}
1920

0 commit comments

Comments
 (0)