Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/pull/412'
Browse files Browse the repository at this point in the history
* origin/pull/412:
  fix: print an error on setup without args
  • Loading branch information
Foxboron committed Jan 23, 2025
2 parents cd6dd1c + 2eb5f21 commit 58f5065
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/sbctl/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,8 @@ func setupCmdFlags(cmd *cobra.Command) {
f.BoolVarP(&setupCmdOptions.PrintState, "print-state", "", false, "print the state of sbctl")
f.BoolVarP(&setupCmdOptions.Migrate, "migrate", "", false, "migrate the sbctl installation")
f.BoolVarP(&setupCmdOptions.Setup, "setup", "", false, "setup the sbctl installation")
cmd.MarkFlagsOneRequired("print-config", "print-state", "migrate", "setup")
cmd.MarkFlagsMutuallyExclusive("print-config", "print-state", "migrate", "setup")
}

func init() {
Expand Down

0 comments on commit 58f5065

Please sign in to comment.