mirror of
https://github.com/notherealmarco/coredns-deployment.git
synced 2025-03-14 14:16:16 +01:00
make deprecated flag optional (#157)
This commit is contained in:
parent
37f5d0dad4
commit
aad513584d
1 changed files with 1 additions and 2 deletions
|
@ -38,8 +38,7 @@ corefile-tool migrate --from 1.2.2 --to 1.3.1 --corefile /path/to/Corefile --de
|
|||
migrateCmd.MarkFlagRequired("to")
|
||||
migrateCmd.Flags().String("corefile", "", "Required: The path where your Corefile is located.")
|
||||
migrateCmd.MarkFlagRequired("corefile")
|
||||
migrateCmd.Flags().Bool("deprecations", false, "Required: Specify whether you want to handle plugin deprecations. [True | False] ")
|
||||
migrateCmd.MarkFlagRequired("deprecations")
|
||||
migrateCmd.Flags().Bool("deprecations", false, "Specify whether you want to handle plugin deprecations. [True | False] ")
|
||||
|
||||
return migrateCmd
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue