From 40bb2077478e78826105411555abd28d182fb410 Mon Sep 17 00:00:00 2001 From: Ilya Grigoriev Date: Mon, 24 Jun 2024 20:39:29 -0700 Subject: [PATCH] docs: replace `jj chmod` -> `jj file chmod` `jj chmod` is now deprecated --- cli/src/commands/file/chmod.rs | 4 ++-- cli/tests/cli-reference@.md.snap | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cli/src/commands/file/chmod.rs b/cli/src/commands/file/chmod.rs index 77c97d9bc8..8310a5c221 100644 --- a/cli/src/commands/file/chmod.rs +++ b/cli/src/commands/file/chmod.rs @@ -34,8 +34,8 @@ enum ChmodMode { /// Sets or removes the executable bit for paths in the repo /// -/// Unlike the POSIX `chmod`, `jj chmod` also works on Windows, on conflicted -/// files, and on arbitrary revisions. +/// Unlike the POSIX `chmod`, `jj file chmod` also works on Windows, on +/// conflicted files, and on arbitrary revisions. #[derive(clap::Args, Clone, Debug)] pub(crate) struct ChmodArgs { mode: ChmodMode, diff --git a/cli/tests/cli-reference@.md.snap b/cli/tests/cli-reference@.md.snap index 97e608f968..dd045bbd26 100644 --- a/cli/tests/cli-reference@.md.snap +++ b/cli/tests/cli-reference@.md.snap @@ -698,7 +698,7 @@ File operations Sets or removes the executable bit for paths in the repo -Unlike the POSIX `chmod`, `jj chmod` also works on Windows, on conflicted files, and on arbitrary revisions. +Unlike the POSIX `chmod`, `jj file chmod` also works on Windows, on conflicted files, and on arbitrary revisions. **Usage:** `jj file chmod [OPTIONS] ...`