Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cargo args support for export-pda-tx #117

Merged
merged 1 commit into from
Jan 6, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ async fn main() -> anyhow::Result<()> {
.arg(Arg::with_name("cargo-args")
.multiple(true)
.last(true)
.help("Arguments to pass to the underlying `cargo build-bpf` command")))
.help("Arguments to pass to the underlying `cargo build-sbf` command")))
.subcommand(SubCommand::with_name("verify-from-image")
.about("Verifies a cached build from a docker image")
.arg(Arg::with_name("executable-path-in-image")
Expand Down Expand Up @@ -234,7 +234,7 @@ async fn main() -> anyhow::Result<()> {
.arg(Arg::with_name("cargo-args")
.multiple(true)
.last(true)
.help("Arguments to pass to the underlying `cargo build-bpf` command"))
.help("Arguments to pass to the underlying `cargo build-sbf` command"))
.arg(Arg::with_name("skip-build")
.long("skip-build")
.help("Skip building and verification, only upload the PDA")
Expand Down Expand Up @@ -281,9 +281,10 @@ async fn main() -> anyhow::Result<()> {
.arg(Arg::with_name("bpf")
.long("bpf")
.help("If the program requires cargo build-bpf (instead of cargo build-sbf), set this flag"))
.arg(Arg::with_name("current-dir")
.long("current-dir")
.help("Verify in current directory")))
.arg(Arg::with_name("cargo-args")
.multiple(true)
.last(true)
.help("Arguments to pass to the underlying `cargo build-sbf` command")))
.subcommand(SubCommand::with_name("close")
.about("Close the otter-verify PDA account associated with the given program ID")
.arg(Arg::with_name("program-id")
Expand Down
Loading