Skip to content

Commit

Permalink
fix: flag indicator in profile save example
Browse files Browse the repository at this point in the history
* add: flag indicator in example

* Added changeset entry

Signed-off-by: Riccardo Montagnin <[email protected]>

Co-authored-by: Riccardo Montagnin <[email protected]>
  • Loading branch information
ryuash and RiccardoM authored Sep 2, 2021
1 parent 831823e commit b40144b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
type: fixed
module: x/profiles
pull_request: 598
description: Fixed the help of the `desmos tx profiles save` command
backward_compatible: true
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 b40144b

Please sign in to comment.