Browse Source

don't mention rust structs in the cli docs

remotes/origin/list-filter
Gal Schlezinger 9 months ago
parent
commit
b0903b53b9
  1. 2
      docs/commands.md
  2. 2
      src/commands/ls_remote.rs

2
docs/commands.md

@ -82,7 +82,7 @@ Usage: fnm list-remote [OPTIONS]
Options: Options:
--filter <FILTER> --filter <FILTER>
Filter with SemVer Filter versions by a user-defined version or a semver range
--node-dist-mirror <NODE_DIST_MIRROR> --node-dist-mirror <NODE_DIST_MIRROR>
<https://nodejs.org/dist/> mirror <https://nodejs.org/dist/> mirror

2
src/commands/ls_remote.rs

@ -7,7 +7,7 @@ use thiserror::Error;
#[derive(clap::Parser, Debug)] #[derive(clap::Parser, Debug)]
pub struct LsRemote { pub struct LsRemote {
/// Filter with `SemVer` /// Filter versions by a user-defined version or a semver range
#[arg(long)] #[arg(long)]
filter: Option<UserVersion>, filter: Option<UserVersion>,

Loading…
Cancel
Save