Skip to content

Commit 38f6e27

Browse files
authored
Merge pull request #117 from Ellipsis-Labs/export-pda-tx-cargo-args
2 parents 7d60bdf + e99a3f8 commit 38f6e27

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/main.rs

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ async fn main() -> anyhow::Result<()> {
144144
.arg(Arg::with_name("cargo-args")
145145
.multiple(true)
146146
.last(true)
147-
.help("Arguments to pass to the underlying `cargo build-bpf` command")))
147+
.help("Arguments to pass to the underlying `cargo build-sbf` command")))
148148
.subcommand(SubCommand::with_name("verify-from-image")
149149
.about("Verifies a cached build from a docker image")
150150
.arg(Arg::with_name("executable-path-in-image")
@@ -234,7 +234,7 @@ async fn main() -> anyhow::Result<()> {
234234
.arg(Arg::with_name("cargo-args")
235235
.multiple(true)
236236
.last(true)
237-
.help("Arguments to pass to the underlying `cargo build-bpf` command"))
237+
.help("Arguments to pass to the underlying `cargo build-sbf` command"))
238238
.arg(Arg::with_name("skip-build")
239239
.long("skip-build")
240240
.help("Skip building and verification, only upload the PDA")
@@ -281,9 +281,10 @@ async fn main() -> anyhow::Result<()> {
281281
.arg(Arg::with_name("bpf")
282282
.long("bpf")
283283
.help("If the program requires cargo build-bpf (instead of cargo build-sbf), set this flag"))
284-
.arg(Arg::with_name("current-dir")
285-
.long("current-dir")
286-
.help("Verify in current directory")))
284+
.arg(Arg::with_name("cargo-args")
285+
.multiple(true)
286+
.last(true)
287+
.help("Arguments to pass to the underlying `cargo build-sbf` command")))
287288
.subcommand(SubCommand::with_name("close")
288289
.about("Close the otter-verify PDA account associated with the given program ID")
289290
.arg(Arg::with_name("program-id")

0 commit comments

Comments
 (0)