From 313ae803456753cd7e2821693a07b345b41dccca Mon Sep 17 00:00:00 2001 From: Ying Li Date: Sat, 7 Nov 2015 22:06:11 -0800 Subject: [PATCH] Remove unused rawOutput option in notary CLI. Signed-off-by: Ying Li Signed-off-by: David Lawrence Signed-off-by: Ying Li (github: endophage) --- cmd/notary/main.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/cmd/notary/main.go b/cmd/notary/main.go index 81c76f538d..9489d55f14 100644 --- a/cmd/notary/main.go +++ b/cmd/notary/main.go @@ -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) }