docs: mention in jj help config edit that the command can create a file

This commit is contained in:
Ilya Grigoriev 2024-01-31 20:53:23 -08:00
parent 98948554f7
commit e9c482c017
2 changed files with 6 additions and 1 deletions

View file

@ -134,6 +134,9 @@ pub(crate) struct ConfigSetArgs {
}
/// Start an editor on a jj config file.
///
/// Creates the file if it doesn't already exist regardless of what the editor
/// does.
#[derive(clap::Args, Clone, Debug)]
pub(crate) struct ConfigEditArgs {
#[clap(flatten)]

View file

@ -554,7 +554,9 @@ Update config file to set the given option to a given value
## `jj config edit`
Start an editor on a jj config file
Start an editor on a jj config file.
Creates the file if it doesn't already exist regardless of what the editor does.
**Usage:** `jj config edit <--user|--repo>`