diff --git a/control_plane/src/local_env.rs b/control_plane/src/local_env.rs index 78ef83ef99..efbabc0211 100644 --- a/control_plane/src/local_env.rs +++ b/control_plane/src/local_env.rs @@ -71,7 +71,7 @@ pub fn init() -> Result<()> { let cargo_path = env::current_dir()?; if !cargo_path.join("pageserver/Cargo.toml").exists() { anyhow::bail!( - "Current dirrectory does not look like a zenith repo. \ + "Current directory does not look like a zenith repo. \ Please, run 'init' from zenith repo root." ); } diff --git a/zenith/src/main.rs b/zenith/src/main.rs index 8cbd97e1ea..69a31efdae 100644 --- a/zenith/src/main.rs +++ b/zenith/src/main.rs @@ -34,10 +34,7 @@ fn main() -> Result<()> { .required(true); let matches = App::new("zenith") .about("Zenith CLI") - .subcommand( - SubCommand::with_name("init") - .about("Initialize a new Zenith repository in current directory"), - ) + .subcommand(SubCommand::with_name("init").about("Initialize a new Zenith repository")) .subcommand( SubCommand::with_name("branch") .about("Create a new branch") @@ -79,7 +76,7 @@ fn main() -> Result<()> { let repopath = zenith_repo_dir(); if !repopath.exists() { bail!( - "Zenith repository does not exists in {}.\n\ + "Zenith repository does not exist in {}.\n\ Set ZENITH_REPO_DIR or initialize a new repository with 'zenith init'", repopath.display() );