Skip to content

Commit 7e8112d

Browse files
committed
mark flags with mutex
1 parent 250eae9 commit 7e8112d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/cosmovisor/cmd/cosmovisor/batch_upgrade.go

+1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ cosmovisor add-batch-upgrade --upgrade-file /path/to/batch_upgrade.json`,
4242

4343
cmd.Flags().String("upgrade-file", "", "Path to a batch upgrade file which is a JSON array of upgrade-info objects")
4444
cmd.Flags().StringSlice("upgrade-list", []string{}, "List of comma-separated upgrades in the format 'name:path/to/binary:height'")
45+
cmd.MarkFlagsMutuallyExclusive("upgrade-file", "upgrade-list")
4546

4647
return cmd
4748
}

0 commit comments

Comments
 (0)