mirror of
https://github.com/martinvonz/jj.git
synced 2025-02-05 19:14:43 +00:00
docs: mention in jj help config edit
that the command can create a file
This commit is contained in:
parent
98948554f7
commit
e9c482c017
2 changed files with 6 additions and 1 deletions
|
@ -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)]
|
||||
|
|
|
@ -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>`
|
||||
|
||||
|
|
Loading…
Reference in a new issue