Skip to content

Commit

Permalink
Allow run flags that start with - (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
jfrohnhofen authored Nov 4, 2021
1 parent 1eec1a0 commit 97a136b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions cmd/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ var runCmd = &cobra.Command{

func init() {
rootCmd.AddCommand(runCmd)
runCmd.Flags().SetInterspersed(false)
}

func runRun(cmd *cobra.Command, args []string) {
Expand Down
1 change: 1 addition & 0 deletions cmd/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ var testCmd = &cobra.Command{

func init() {
rootCmd.AddCommand(testCmd)
testCmd.Flags().SetInterspersed(false)
}

func runTest(cmd *cobra.Command, args []string) {
Expand Down

0 comments on commit 97a136b

Please sign in to comment.