Browse Source

Ignore arch in help output (#627)

remotes/origin/feat/support-install-latest
Gal Schlezinger 3 years ago committed by GitHub
parent
commit
92a75922d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 26
      docs/commands.md
  2. 3
      src/config.rs

26
docs/commands.md

@ -18,7 +18,7 @@ FLAGS: @@ -18,7 +18,7 @@ FLAGS:
OPTIONS:
--arch <arch>
Override the architecture of the installed Node binary. Defaults to arch of fnm binary [env: FNM_ARCH]
[default: x64]
--fnm-dir <base-dir>
The root directory of fnm installations [env: FNM_DIR]
@ -73,7 +73,7 @@ FLAGS: @@ -73,7 +73,7 @@ FLAGS:
OPTIONS:
--arch <arch>
Override the architecture of the installed Node binary. Defaults to arch of fnm binary [env: FNM_ARCH]
[default: x64]
--fnm-dir <base-dir>
The root directory of fnm installations [env: FNM_DIR]
@ -121,7 +121,7 @@ FLAGS: @@ -121,7 +121,7 @@ FLAGS:
OPTIONS:
--arch <arch>
Override the architecture of the installed Node binary. Defaults to arch of fnm binary [env: FNM_ARCH]
[default: x64]
--fnm-dir <base-dir>
The root directory of fnm installations [env: FNM_DIR]
@ -164,7 +164,7 @@ FLAGS: @@ -164,7 +164,7 @@ FLAGS:
OPTIONS:
--arch <arch>
Override the architecture of the installed Node binary. Defaults to arch of fnm binary [env: FNM_ARCH]
[default: x64]
--fnm-dir <base-dir>
The root directory of fnm installations [env: FNM_DIR]
@ -206,7 +206,7 @@ FLAGS: @@ -206,7 +206,7 @@ FLAGS:
OPTIONS:
--arch <arch>
Override the architecture of the installed Node binary. Defaults to arch of fnm binary [env: FNM_ARCH]
[default: x64]
--fnm-dir <base-dir>
The root directory of fnm installations [env: FNM_DIR]
@ -260,7 +260,7 @@ FLAGS: @@ -260,7 +260,7 @@ FLAGS:
OPTIONS:
--arch <arch>
Override the architecture of the installed Node binary. Defaults to arch of fnm binary [env: FNM_ARCH]
[default: x64]
--fnm-dir <base-dir>
The root directory of fnm installations [env: FNM_DIR]
@ -308,7 +308,7 @@ FLAGS: @@ -308,7 +308,7 @@ FLAGS:
OPTIONS:
--arch <arch>
Override the architecture of the installed Node binary. Defaults to arch of fnm binary [env: FNM_ARCH]
[default: x64]
--fnm-dir <base-dir>
The root directory of fnm installations [env: FNM_DIR]
@ -365,7 +365,7 @@ FLAGS: @@ -365,7 +365,7 @@ FLAGS:
OPTIONS:
--arch <arch>
Override the architecture of the installed Node binary. Defaults to arch of fnm binary [env: FNM_ARCH]
[default: x64]
--fnm-dir <base-dir>
The root directory of fnm installations [env: FNM_DIR]
@ -410,7 +410,7 @@ FLAGS: @@ -410,7 +410,7 @@ FLAGS:
OPTIONS:
--arch <arch>
Override the architecture of the installed Node binary. Defaults to arch of fnm binary [env: FNM_ARCH]
[default: x64]
--fnm-dir <base-dir>
The root directory of fnm installations [env: FNM_DIR]
@ -450,7 +450,7 @@ FLAGS: @@ -450,7 +450,7 @@ FLAGS:
OPTIONS:
--arch <arch>
Override the architecture of the installed Node binary. Defaults to arch of fnm binary [env: FNM_ARCH]
[default: x64]
--fnm-dir <base-dir>
The root directory of fnm installations [env: FNM_DIR]
@ -490,7 +490,7 @@ FLAGS: @@ -490,7 +490,7 @@ FLAGS:
OPTIONS:
--arch <arch>
Override the architecture of the installed Node binary. Defaults to arch of fnm binary [env: FNM_ARCH]
[default: x64]
--fnm-dir <base-dir>
The root directory of fnm installations [env: FNM_DIR]
@ -538,7 +538,7 @@ FLAGS: @@ -538,7 +538,7 @@ FLAGS:
OPTIONS:
--arch <arch>
Override the architecture of the installed Node binary. Defaults to arch of fnm binary [env: FNM_ARCH]
[default: x64]
--fnm-dir <base-dir>
The root directory of fnm installations [env: FNM_DIR]
@ -589,7 +589,7 @@ FLAGS: @@ -589,7 +589,7 @@ FLAGS:
OPTIONS:
--arch <arch>
Override the architecture of the installed Node binary. Defaults to arch of fnm binary [env: FNM_ARCH]
[default: x64]
--fnm-dir <base-dir>
The root directory of fnm installations [env: FNM_DIR]

3
src/config.rs

@ -56,7 +56,8 @@ pub struct FnmConfig { @@ -56,7 +56,8 @@ pub struct FnmConfig {
env = "FNM_ARCH",
default_value,
global = true,
hide_env_values = true
hide_env_values = true,
hide_default_value = true
)]
pub arch: Arch,

Loading…
Cancel
Save