From 4fa778acaab5c9a836fee93020ec146ac38e20c0 Mon Sep 17 00:00:00 2001 From: Rowan Walsh <1158758+rowan-walsh@users.noreply.github.com> Date: Tue, 23 Apr 2024 17:29:49 -0700 Subject: [PATCH] Fixes typo in 'jj git init' args --- cli/src/commands/git.rs | 2 +- cli/tests/cli-reference@.md.snap | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/src/commands/git.rs b/cli/src/commands/git.rs index 9122399631..9f22ca7c4b 100644 --- a/cli/src/commands/git.rs +++ b/cli/src/commands/git.rs @@ -115,7 +115,7 @@ pub struct GitRemoteListArgs {} pub struct GitInitArgs { /// The destination directory where the `jj` repo will be created. /// If the directory does not exist, it will be created. - /// If no directory is diven, the current directory is used. + /// If no directory is given, the current directory is used. /// /// By default the `git` repo is under `$destination/.jj` #[arg(default_value = ".", value_hint = clap::ValueHint::DirPath)] diff --git a/cli/tests/cli-reference@.md.snap b/cli/tests/cli-reference@.md.snap index 6510c3c4ef..8c5a2e61e4 100644 --- a/cli/tests/cli-reference@.md.snap +++ b/cli/tests/cli-reference@.md.snap @@ -846,7 +846,7 @@ Create a new Git backed repo ###### **Arguments:** -* `` — The destination directory where the `jj` repo will be created. If the directory does not exist, it will be created. If no directory is diven, the current directory is used +* `` — The destination directory where the `jj` repo will be created. If the directory does not exist, it will be created. If no directory is given, the current directory is used Default value: `.`