message: Changed argument handling, to try to create folder, before quitting.
diff: use std::net::SocketAddr;
  use std::path::{Path, PathBuf};
  +use std::fs::create_dir_all;
  use clap::{App, Arg};
  @@ -151,10 +152,19 @@ impl Environment {
  .help("A directory for Tezos OCaml runtime storage (context/store)")
  .validator(|v| {
  let dir = Path::new(&v);
  - if dir.exists() && dir.is_dir() {
  + if dir.exists() {
  + if dir.is_dir() {
  Ok(())
  } else {
  - Err(format!("Required tezos data dir '{}' is not a directory or does not exist!", v))
  + Err(format!("Required tezos data dir '{}' exists, but is not a directory!", v))
  + }
  + } else {
  + // Tezos data dir does not exists, try to create it
  + if let Err(e) = create_dir_all(dir) {
  + Err(format!("Unable to create required tezos data dir '{}': {} ", v, e))
  + } else {
  + Ok(())
  + }
  }
  }))
  .arg(Arg::with_name("peer-thresh-low")
  