mirror of
https://github.com/martinvonz/jj.git
synced 2024-11-24 15:18:53 +00:00
docs: replace jj files
-> jj file list
`jj files` is now deprecated
This commit is contained in:
parent
5ba6078354
commit
46b37aca2f
4 changed files with 5 additions and 5 deletions
|
@ -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)]
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue