fix: ncf to cnf

This commit is contained in:
iff 2024-12-08 20:29:34 +01:00
parent b016d5492c
commit cfaf7ee563

View file

@ -39,7 +39,7 @@ pub fn handle_args() -> Status {
init.auto_alias = true; init.auto_alias = true;
index += 1; index += 1;
} }
"--noncf" => { "--nocnf" => {
init.cnf = false; init.cnf = false;
index += 1 index += 1
} }
@ -66,7 +66,7 @@ fn print_help() {
"{}", "{}",
t!( t!(
"help", "help",
usage = "pay-respects <shell> [--alias [<alias>]] [--noncf]", usage = "pay-respects <shell> [--alias [<alias>]] [--nocnf]",
eval = "Bash / Zsh / Fish".bold(), eval = "Bash / Zsh / Fish".bold(),
eval_examples = r#" eval_examples = r#"
eval "$(pay-respects bash --alias)" eval "$(pay-respects bash --alias)"
@ -76,7 +76,7 @@ pay-respects fish --alias | source
manual = "Nushell / PowerShell".bold(), manual = "Nushell / PowerShell".bold(),
manual_examples = r#" manual_examples = r#"
pay-respects nushell [--alias <alias>] pay-respects nushell [--alias <alias>]
pay-respects pwsh [--alias <alias>] [--nocnf] pay-respects pwsh [--alias <alias>]
"# "#
) )
); );