Correct --no-modify-profile (#206)
* Correct --no-modify-profile * Correct env
This commit is contained in:
parent
e81456673b
commit
9dbbc9b7be
|
@ -48,12 +48,11 @@ pub struct CommonSettings {
|
|||
#[cfg_attr(
|
||||
feature = "cli",
|
||||
clap(
|
||||
long,
|
||||
action(ArgAction::SetFalse),
|
||||
default_value = "true",
|
||||
global = true,
|
||||
env = "NIX_INSTALLER_NO_MODIFY_PROFILE",
|
||||
name = "no-modify-profile"
|
||||
env = "NIX_INSTALLER_MODIFY_PROFILE",
|
||||
long = "no-modify-profile"
|
||||
)
|
||||
)]
|
||||
pub(crate) modify_profile: bool,
|
||||
|
|
Loading…
Reference in a new issue