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(
|
#[cfg_attr(
|
||||||
feature = "cli",
|
feature = "cli",
|
||||||
clap(
|
clap(
|
||||||
long,
|
|
||||||
action(ArgAction::SetFalse),
|
action(ArgAction::SetFalse),
|
||||||
default_value = "true",
|
default_value = "true",
|
||||||
global = true,
|
global = true,
|
||||||
env = "NIX_INSTALLER_NO_MODIFY_PROFILE",
|
env = "NIX_INSTALLER_MODIFY_PROFILE",
|
||||||
name = "no-modify-profile"
|
long = "no-modify-profile"
|
||||||
)
|
)
|
||||||
)]
|
)]
|
||||||
pub(crate) modify_profile: bool,
|
pub(crate) modify_profile: bool,
|
||||||
|
|
Loading…
Reference in a new issue