Skip to content

Commit

Permalink
add: flag indicator in example
Browse files Browse the repository at this point in the history
  • Loading branch information
ryuash committed Sep 2, 2021
1 parent 831823e commit 213efcd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions x/profiles/client/cli/cli_profile.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ func GetCmdSaveProfile() *cobra.Command {
Long: fmt.Sprintf(`
Save a new profile or edit the existing one specifying a DTag, a nickname, biography, profile picture and cover picture.
Every data given through the flags is optional.
If you are editing an existing profile you should fill only the fields that you want to edit.
If you are editing an existing profile you should fill only the fields that you want to edit.
The empty ones will be filled with a special [do-not-modify] flag that tells the system to not edit them.
%s tx profiles save LeoDiCap \
%s "Leonardo Di Caprio" \
%s "Hollywood actor. Proud environmentalist" \
%s "https://profilePic.jpg"
%s "https://profileCover.jpg"
--%s "Leonardo Di Caprio" \
--%s "Hollywood actor. Proud environmentalist" \
--%s "https://profilePic.jpg"
--%s "https://profileCover.jpg"
`, version.AppName, FlagNickname, FlagBio, FlagProfilePic, FlagCoverPic),
RunE: func(cmd *cobra.Command, args []string) error {
clientCtx, err := client.GetClientTxContext(cmd)
Expand Down

0 comments on commit 213efcd

Please sign in to comment.