fixed an error, trying to rewrite a flag, sorry
This commit is contained in:
@@ -408,7 +408,7 @@ func main() {
|
|||||||
removeCmd.Flags().BoolVar(&Unsafe, "unsafe", false, "Execute lua script without sandbox")
|
removeCmd.Flags().BoolVar(&Unsafe, "unsafe", false, "Execute lua script without sandbox")
|
||||||
|
|
||||||
rootCmd.AddCommand(upgradeCmd)
|
rootCmd.AddCommand(upgradeCmd)
|
||||||
installCmd.Flags().BoolVar(&Unsafe, "unsafe", false, "Execute lua script without sandbox")
|
upgradeCmd.Flags().BoolVar(&Unsafe, "unsafe", false, "Execute lua script without sandbox")
|
||||||
|
|
||||||
rootCmd.AddCommand(listCmd)
|
rootCmd.AddCommand(listCmd)
|
||||||
rootCmd.AddCommand(searchCmd)
|
rootCmd.AddCommand(searchCmd)
|
||||||
|
|||||||
Reference in New Issue
Block a user