mirror of
https://github.com/notherealmarco/coredns-deployment.git
synced 2025-05-05 20:42:33 +02: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.MarkFlagRequired("to")
|
||||||
migrateCmd.Flags().String("corefile", "", "Required: The path where your Corefile is located.")
|
migrateCmd.Flags().String("corefile", "", "Required: The path where your Corefile is located.")
|
||||||
migrateCmd.MarkFlagRequired("corefile")
|
migrateCmd.MarkFlagRequired("corefile")
|
||||||
migrateCmd.Flags().Bool("deprecations", false, "Required: Specify whether you want to handle plugin deprecations. [True | False] ")
|
migrateCmd.Flags().Bool("deprecations", false, "Specify whether you want to handle plugin deprecations. [True | False] ")
|
||||||
migrateCmd.MarkFlagRequired("deprecations")
|
|
||||||
|
|
||||||
return migrateCmd
|
return migrateCmd
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue