Skip to content

Commit

Permalink
add relay_debug arg
Browse files Browse the repository at this point in the history
Signed-off-by: kernelkind <[email protected]>
  • Loading branch information
kernelkind committed Jan 1, 2025
1 parent 97119ee commit fe413d4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crates/notedeck/src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ pub struct Args {
pub keys: Vec<Keypair>,
pub light: bool,
pub debug: bool,
pub relay_debug: bool,

/// Enable when running tests so we don't panic on app startup
pub tests: bool,
Expand All @@ -24,6 +25,7 @@ impl Args {
keys: vec![],
light: false,
debug: false,
relay_debug: false,
tests: false,
use_keystore: true,
dbpath: None,
Expand Down Expand Up @@ -108,6 +110,8 @@ impl Args {
res.relays.push(relay.clone());
} else if arg == "--no-keystore" {
res.use_keystore = false;
} else if arg == "--relay-debug" {
res.relay_debug = true;
}

i += 1;
Expand Down

0 comments on commit fe413d4

Please sign in to comment.