forked from mirrors/jj
document that jj util completion
defaults to bash
it's somewhat confusing to me that the `--bash` flag exists at all, since it does nothing - maybe it makes sense to give a hard error? or just remove the flag? but in any case, it seems good to document the existing behavior.
This commit is contained in:
parent
52f4fb1b27
commit
3d1ce5b6fd
2 changed files with 2 additions and 2 deletions
|
@ -36,7 +36,7 @@ pub(crate) enum UtilCommand {
|
|||
/// Print a command-line-completion script
|
||||
#[derive(clap::Args, Clone, Debug)]
|
||||
pub(crate) struct UtilCompletionArgs {
|
||||
/// Print a completion script for Bash
|
||||
/// Print a completion script for Bash (default)
|
||||
///
|
||||
/// Apply it by running this:
|
||||
///
|
||||
|
|
|
@ -1712,7 +1712,7 @@ Print a command-line-completion script
|
|||
|
||||
###### **Options:**
|
||||
|
||||
* `--bash` — Print a completion script for Bash
|
||||
* `--bash` — Print a completion script for Bash (default)
|
||||
|
||||
Possible values: `true`, `false`
|
||||
|
||||
|
|
Loading…
Reference in a new issue