mirror of
https://github.com/cirruslabs/orchard.git
synced 2026-10-20 09:39:01 +02:00
spf13/cobra: don't use PersistentFlags() (#319)
This commit is contained in:
@@ -19,7 +19,7 @@ func newPauseWorkerCommand() *cobra.Command {
|
||||
Args: cobra.ExactArgs(1),
|
||||
}
|
||||
|
||||
command.PersistentFlags().Uint64Var(&wait, "wait", 0,
|
||||
command.Flags().Uint64Var(&wait, "wait", 0,
|
||||
"wait the specified amount of seconds for the worker to stop running any VMs")
|
||||
|
||||
return command
|
||||
|
||||
Reference in New Issue
Block a user