Skip to content

Commit

Permalink
Update wallet command flag description for account (#5273)
Browse files Browse the repository at this point in the history
This makes it more clear that it expects a name of an account
  • Loading branch information
mat-if committed Aug 14, 2024
1 parent df09aff commit bed90c6
Show file tree
Hide file tree
Showing 13 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion ironfish-cli/src/commands/wallet/burn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export class Burn extends IronfishCommand {
...RemoteFlags,
account: Flags.string({
char: 'f',
description: 'The account to burn from',
description: 'Name of the account to burn from',
}),
fee: IronFlag({
char: 'o',
Expand Down
2 changes: 1 addition & 1 deletion ironfish-cli/src/commands/wallet/chainport/send.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export class BridgeCommand extends IronfishCommand {
}),
account: Flags.string({
char: 'f',
description: 'The account to send the asset from',
description: 'Name of the account to send the asset from',
}),
to: Flags.string({
char: 't',
Expand Down
8 changes: 4 additions & 4 deletions ironfish-cli/src/commands/wallet/import.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,16 @@ export class ImportCommand extends IronfishCommand {
description: 'Rescan the blockchain once the account is imported',
}),
path: Flags.string({
description: 'the path to the file containing the account to import',
description: 'The path to the file containing the account to import',
}),
name: Flags.string({
description: 'the name to use for the account',
description: 'Name to use for the account',
}),
createdAt: Flags.integer({
description: 'Block sequence to begin scanning from for the imported account',
}),
ledger: Flags.boolean({
description: 'import a view-only account from a ledger device',
description: 'Import a view-only account from a ledger device',
default: false,
exclusive: ['path'],
}),
Expand All @@ -61,7 +61,7 @@ export class ImportCommand extends IronfishCommand {
((flags.path && flags.path.length !== 0) || flags.ledger)
) {
this.error(
`Your command includes an unexpected argument. Please pass only 1 of the following:
`Your command includes an unexpected argument. Please pass only 1 of the following:
1. the output of wallet:export OR
2. --path to import an account from a file OR
3. --ledger to import an account from a ledger device`,
Expand Down
2 changes: 1 addition & 1 deletion ironfish-cli/src/commands/wallet/mint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export class Mint extends IronfishCommand {
...RemoteFlags,
account: Flags.string({
char: 'f',
description: 'The account to mint from',
description: 'Name of the account to mint from',
}),
fee: IronFlag({
char: 'o',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export class MultisigAccountParticipants extends IronfishCommand {
...RemoteFlags,
account: Flags.string({
char: 'f',
description: 'The account to list group identities for',
description: 'Name of the account to list group identities for',
}),
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export class CreateSigningPackage extends IronfishCommand {
...RemoteFlags,
account: Flags.string({
char: 'f',
description: 'The account to use when creating the signing package',
description: 'Name of the account to use when creating the signing package',
required: false,
}),
unsignedTransaction: Flags.string({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export class CreateSigningCommitmentCommand extends IronfishCommand {
account: Flags.string({
char: 'f',
description:
'The account to use for generating the commitment, must be a multisig participant account',
'Name of the account to use for generating the commitment, must be a multisig participant account',
required: false,
}),
unsignedTransaction: Flags.string({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export class MultisigSign extends IronfishCommand {
...RemoteFlags,
account: Flags.string({
char: 'f',
description: 'Account to use when aggregating signature shares',
description: 'Name of the account to use when aggregating signature shares',
required: false,
}),
signingPackage: Flags.string({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export class CreateSignatureShareCommand extends IronfishCommand {
...RemoteFlags,
account: Flags.string({
char: 'f',
description: 'The account from which the signature share will be created',
description: 'Name of the account from which the signature share will be created',
required: false,
}),
signingPackage: Flags.string({
Expand Down
2 changes: 1 addition & 1 deletion ironfish-cli/src/commands/wallet/notes/combine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export class CombineNotesCommand extends IronfishCommand {
}),
account: Flags.string({
char: 'f',
description: 'The account to send money from',
description: 'Name of the account to send money from',
}),
benchmark: Flags.boolean({
hidden: true,
Expand Down
2 changes: 1 addition & 1 deletion ironfish-cli/src/commands/wallet/send.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export class Send extends IronfishCommand {
...RemoteFlags,
account: Flags.string({
char: 'f',
description: 'The account to send money from',
description: 'Name of the account to send money from',
}),
amount: ValueFlag({
char: 'a',
Expand Down
2 changes: 1 addition & 1 deletion ironfish-cli/src/commands/wallet/transactions/decode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export class TransactionsDecodeCommand extends IronfishCommand {
...RemoteFlags,
account: Flags.string({
char: 'f',
description: 'The name of the account to use to for viewing transaction details',
description: 'Name of the account to use to for viewing transaction details',
}),
transaction: Flags.string({
char: 't',
Expand Down
2 changes: 1 addition & 1 deletion ironfish-cli/src/commands/wallet/transactions/post.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export class TransactionsPostCommand extends IronfishCommand {
static flags = {
...RemoteFlags,
account: Flags.string({
description: 'The account that created the raw transaction',
description: 'Name of the account that created the raw transaction',
char: 'f',
required: false,
deprecated: true,
Expand Down

0 comments on commit bed90c6

Please sign in to comment.