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] ...`