mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-29 19:10:38 +00:00
fix a few CLI typos
This commit is contained in:
@@ -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."
|
||||
);
|
||||
}
|
||||
|
||||
@@ -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()
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user