mirror of
https://github.com/jj-vcs/jj.git
synced 2025-12-23 06:01:01 +00:00
cli commit: wrap each flag in backticks in doc comment
This commit is contained in:
parent
223470295e
commit
e9b280148e
2 changed files with 6 additions and 5 deletions
|
|
@ -47,11 +47,12 @@ use crate::ui::Ui;
|
|||
/// * `jj commit` doesn't have a `-r` option. It always acts on the working-copy
|
||||
/// commit (@).
|
||||
///
|
||||
/// * `jj split` (without `-d/-A/-B`) will move bookmarks forward from the old
|
||||
/// change to the child change. `jj commit` doesn't move bookmarks forward.
|
||||
/// * `jj split` (without `-d`/`-A`/`-B`) will move bookmarks forward from the
|
||||
/// old change to the child change. `jj commit` doesn't move bookmarks
|
||||
/// forward.
|
||||
///
|
||||
/// * `jj split` allows you to move the selected changes to a different
|
||||
/// destination with `-d/-A/-B`.
|
||||
/// destination with `-d`/`-A`/`-B`.
|
||||
#[derive(clap::Args, Clone, Debug)]
|
||||
pub(crate) struct CommitArgs {
|
||||
/// Interactively choose which changes to include in the current commit
|
||||
|
|
|
|||
|
|
@ -624,9 +624,9 @@ When using `--interactive` or path arguments, the selected changes stay in the c
|
|||
|
||||
* `jj commit` doesn't have a `-r` option. It always acts on the working-copy commit (@).
|
||||
|
||||
* `jj split` (without `-d/-A/-B`) will move bookmarks forward from the old change to the child change. `jj commit` doesn't move bookmarks forward.
|
||||
* `jj split` (without `-d`/`-A`/`-B`) will move bookmarks forward from the old change to the child change. `jj commit` doesn't move bookmarks forward.
|
||||
|
||||
* `jj split` allows you to move the selected changes to a different destination with `-d/-A/-B`.
|
||||
* `jj split` allows you to move the selected changes to a different destination with `-d`/`-A`/`-B`.
|
||||
|
||||
**Usage:** `jj commit [OPTIONS] [FILESETS]...`
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue