Add --mobilecoin-address as alias to updateProfile

Closes #1638
This commit is contained in:
AsamK 2025-01-30 20:18:07 +01:00
parent 47d65586cd
commit a6ec71dc31
3 changed files with 4 additions and 3 deletions

View file

@ -27,7 +27,8 @@ public class UpdateProfileCommand implements JsonRpcLocalCommand {
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");