Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

Commit

Permalink
token-cli: Fix set-transfer-hook-program "authority" flag (#5734)
Browse files Browse the repository at this point in the history
  • Loading branch information
joncinque authored Nov 6, 2023
1 parent e924132 commit 022e0c5
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions token/cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3861,12 +3861,13 @@ fn app<'a, 'b>(
.help("Disable transfer hook functionality by setting the program id to None.")
)
.arg(
Arg::with_name("program_authority")
.long("program-authority")
.validator(is_valid_signer)
.value_name("SIGNER")
.takes_value(true)
.help("Specify the authority keypair. Defaults to the client keypair address.")
Arg::with_name("authority")
.long("authority")
.alias("owner")
.validator(is_valid_signer)
.value_name("SIGNER")
.takes_value(true)
.help("Specify the authority keypair. Defaults to the client keypair address.")
)
)
.subcommand(
Expand Down

0 comments on commit 022e0c5

Please sign in to comment.