docs: replace jj files -> jj file list

`jj files` is now deprecated
This commit is contained in:
Ilya Grigoriev 2024-06-24 20:35:09 -07:00
parent 5ba6078354
commit 46b37aca2f
4 changed files with 5 additions and 5 deletions

View file

@ -2391,8 +2391,8 @@ pub struct EarlyArgs {
pub color: Option<ColorChoice>,
/// Silence non-primary command output
///
/// For example, `jj files` will still list files, but it won't tell you if
/// the working copy was snapshotted or if descendants were rebased.
/// For example, `jj file list ` will still list files, but it won't tell
/// you if the working copy was snapshotted or if descendants were rebased.
///
/// Warnings and errors will still be printed.
#[arg(long, global = true, action = ArgAction::SetTrue)]

View file

@ -177,7 +177,7 @@ To get started, see the tutorial at https://github.com/martinvonz/jj/blob/main/d
* `--color <WHEN>` — When to colorize output (always, never, debug, auto)
* `--quiet` — Silence non-primary command output
For example, `jj files` will still list files, but it won't tell you if the working copy was snapshotted or if descendants were rebased.
For example, `jj file list ` will still list files, but it won't tell you if the working copy was snapshotted or if descendants were rebased.
Warnings and errors will still be printed.
* `--no-pager` — Disable the pager

View file

@ -74,7 +74,7 @@ jj diff '~Cargo.lock'
List files in `src` excluding Rust sources.
```
jj files 'src ~ glob:"**/*.rs"'
jj file list 'src ~ glob:"**/*.rs"'
```
Split a revision in two, putting `foo` into the second commit.

View file

@ -196,7 +196,7 @@ parent.
</tr>
<tr>
<td>Search among files versioned in the repository</td>
<td><code>grep foo $(jj files)</code>, or <code>rg --no-require-git foo</code></td>
<td><code>grep foo $(jj file list)</code>, or <code>rg --no-require-git foo</code></td>
<td><code>git grep foo</code></td>
</tr>
<tr>