Skip to content

Commit

Permalink
fix: add missing flags from compile cmd (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
skipi authored Aug 1, 2023
1 parent 1f6c8fb commit fc9ccc3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions cmd/compile.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,5 +107,7 @@ var compileCmd = &cobra.Command{
}

func init() {
compileCmd.Flags().Int32P("trim-output-to", "s", 0, "trim stdout to N characters, defaults to 0(unlimited)")
compileCmd.Flags().BoolP("omit-output-for-passed", "o", false, "omit stdout if test passed, defaults to false")
rootCmd.AddCommand(compileCmd)
}
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (

var cfgFile string

var versionString = "0.6.5"
var versionString = "0.6.6"

// rootCmd represents the base command when called without any subcommands
var rootCmd = &cobra.Command{
Expand Down

0 comments on commit fc9ccc3

Please sign in to comment.