Skip to content

Commit 2051713

Browse files
authored
Merge pull request #10 from artfuldev/read-spaced-chain-env-var-in-space-cli
Fix #3
2 parents 5df2c6f + 80c63db commit 2051713

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

node/src/bin/space-cli.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ use spaced::{
2727
#[command(version, about, long_about = None)]
2828
pub struct Args {
2929
/// Bitcoin network to use
30-
#[arg(long)]
30+
#[arg(long, env = "SPACED_CHAIN")]
3131
chain: spaced::config::ExtendedNetwork,
3232
/// Spaced RPC URL [default: based on specified chain]
3333
#[arg(long)]

0 commit comments

Comments
 (0)