We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1cc904 commit c10648aCopy full SHA for c10648a
server/src/cli.rs
@@ -321,7 +321,7 @@ impl Cli {
321
.long(Self::NODE_URL)
322
.env("P_NODE_URL")
323
.value_name("URL")
324
- .required(true)
+ .required(false)
325
.value_parser(validation::socket_addr)
326
.help("Node URL for Parseable server")
327
)
@@ -371,7 +371,7 @@ impl FromArgMatches for Cli {
371
self.node_url = m
372
.get_one::<String>(Self::NODE_URL)
373
.cloned()
374
- .expect("Node URL set");
+ .unwrap_or_else(|| self.address.clone());
375
376
self.local_staging_path = m
377
.get_one::<PathBuf>(Self::STAGING)
0 commit comments