forked from mirrors/jj
document the use of JJ_USER and JJ_EMAIL in combination with --reset-author
Suggested-by: David Barnett <dbarnett@google.com>
This commit is contained in:
parent
cf3db53ea7
commit
fad511a6e5
1 changed files with 5 additions and 0 deletions
|
@ -48,6 +48,11 @@ pub(crate) struct DescribeArgs {
|
||||||
/// Reset the author to the configured user
|
/// Reset the author to the configured user
|
||||||
///
|
///
|
||||||
/// This resets the author name, email, and timestamp.
|
/// This resets the author name, email, and timestamp.
|
||||||
|
///
|
||||||
|
/// You can use it in combination with the JJ_USER and JJ_EMAIL
|
||||||
|
/// environment variables to set a different author:
|
||||||
|
///
|
||||||
|
/// $ JJ_USER='Foo Bar' JJ_EMAIL=foo@bar.com jj describe --reset-author
|
||||||
#[arg(long)]
|
#[arg(long)]
|
||||||
reset_author: bool,
|
reset_author: bool,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue