Skip to content

Commit

Permalink
Add --mobilecoin-address as alias to updateProfile
Browse files Browse the repository at this point in the history
Closes #1638
  • Loading branch information
AsamK committed Jan 30, 2025
1 parent 47d6558 commit a6ec71d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ pub enum CliCommands {
#[arg(long = "about-emoji")]
about_emoji: Option<String>,

#[arg(long = "mobile-coin-address")]
#[arg(long = "mobile-coin-address", visible_alias = "mobilecoin-address")]
mobile_coin_address: Option<String>,

#[arg(long)]
Expand Down
2 changes: 1 addition & 1 deletion man/signal-cli.1.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ Path to the new avatar image file.
*--remove-avatar*::
Remove the avatar

*--mobile-coin-address*::
*--mobile-coin-address*, **--mobilecoin-address**::
New MobileCoin address (Base64 encoded public address)

=== updateContact
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ public void attachToSubparser(final Subparser subparser) {
subparser.addArgument("--family-name").help("New profile family name (optional)");
subparser.addArgument("--about").help("New profile about text");
subparser.addArgument("--about-emoji").help("New profile about emoji");
subparser.addArgument("--mobile-coin-address").help("New MobileCoin address (Base64 encoded public address)");
subparser.addArgument("--mobile-coin-address", "--mobilecoin-address")
.help("New MobileCoin address (Base64 encoded public address)");

final var avatarOptions = subparser.addMutuallyExclusiveGroup();
avatarOptions.addArgument("--avatar").help("Path to new profile avatar");
Expand Down

0 comments on commit a6ec71d

Please sign in to comment.