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:
jyn 2024-02-04 10:43:55 -05:00
parent 52f4fb1b27
commit 3d1ce5b6fd
2 changed files with 2 additions and 2 deletions

View file

@ -36,7 +36,7 @@ pub(crate) enum UtilCommand {
/// Print a command-line-completion script /// Print a command-line-completion script
#[derive(clap::Args, Clone, Debug)] #[derive(clap::Args, Clone, Debug)]
pub(crate) struct UtilCompletionArgs { pub(crate) struct UtilCompletionArgs {
/// Print a completion script for Bash /// Print a completion script for Bash (default)
/// ///
/// Apply it by running this: /// Apply it by running this:
/// ///

View file

@ -1712,7 +1712,7 @@ Print a command-line-completion script
###### **Options:** ###### **Options:**
* `--bash` — Print a completion script for Bash * `--bash` — Print a completion script for Bash (default)
Possible values: `true`, `false` Possible values: `true`, `false`