mirror of
https://github.com/docker/docs.git
synced 2026-04-12 14:25:46 +07:00
Remove unused rawOutput option in notary CLI.
Signed-off-by: Ying Li <ying.li@docker.com> Signed-off-by: David Lawrence <david.lawrence@docker.com> Signed-off-by: Ying Li <ying.li@docker.com> (github: endophage)
This commit is contained in:
@@ -21,7 +21,6 @@ const (
|
||||
)
|
||||
|
||||
var (
|
||||
rawOutput bool
|
||||
verbose bool
|
||||
trustDir string
|
||||
configFile string
|
||||
@@ -107,13 +106,11 @@ func setupCommand(notaryCmd *cobra.Command) {
|
||||
notaryCmd.AddCommand(cmdCert)
|
||||
notaryCmd.AddCommand(cmdTufInit)
|
||||
notaryCmd.AddCommand(cmdTufList)
|
||||
cmdTufList.Flags().BoolVarP(&rawOutput, "raw", "", false, "Instructs notary list to output a nonpretty printed version of the targets list. Useful if you need to parse the list.")
|
||||
notaryCmd.AddCommand(cmdTufAdd)
|
||||
notaryCmd.AddCommand(cmdTufRemove)
|
||||
notaryCmd.AddCommand(cmdTufStatus)
|
||||
notaryCmd.AddCommand(cmdTufPublish)
|
||||
notaryCmd.AddCommand(cmdTufLookup)
|
||||
cmdTufLookup.Flags().BoolVarP(&rawOutput, "raw", "", false, "Instructs notary lookup to output a nonpretty printed version of the targets list. Useful if you need to parse the list.")
|
||||
notaryCmd.AddCommand(cmdVerify)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user