Skip to content

Commit

Permalink
update: remove unnecesary flags
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianToledano committed Oct 23, 2024
1 parent d06f6f5 commit f738991
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions client/v2/offchain/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,8 @@ import (
)

const (
flagNotEmitUnpopulated = "notEmitUnpopulated"
flagIndent = "indent"
flagEncoding = "encoding"
flagFileFormat = "file-format"
flagEncoding = "encoding"
flagFileFormat = "file-format"
)

// OffChain off-chain utilities.
Expand Down Expand Up @@ -74,9 +72,7 @@ func SignFile() *cobra.Command {
},
}

cmd.Flags().String(flagIndent, " ", "Choose an indent for the tx")
cmd.Flags().String(v2flags.FlagOutput, "json", "Choose an output format for the tx (json|text")
cmd.Flags().Bool(flagNotEmitUnpopulated, false, "Don't show unpopulated fields in the tx")
cmd.Flags().String(flagEncoding, "no-encoding", "Choose an encoding method for the file content to be added as msg data (no-encoding|base64|hex)")
cmd.Flags().String(flags.FlagOutputDocument, "", "The document will be written to the given file instead of STDOUT")
cmd.PersistentFlags().String(flags.FlagSignMode, "direct", "Choose sign mode (direct|amino-json)")
Expand Down

0 comments on commit f738991

Please sign in to comment.