ok/jj
1
0
Fork 0
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:
Gabriel Scherer 2023-12-20 23:28:33 +01:00
parent cf3db53ea7
commit fad511a6e5

View file

@ -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,
} }