From 041e3c9b3c9c2b4117fe52355c58ceba0e16e0ed Mon Sep 17 00:00:00 2001 From: Gal Schlezinger Date: Mon, 9 Nov 2020 13:54:11 +0200 Subject: [PATCH] Make ls and ls-remote aliases visible (#327) --- src/cli.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cli.rs b/src/cli.rs index e7dbd05..384925d 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -6,11 +6,11 @@ use structopt::StructOpt; #[derive(StructOpt, Debug)] pub enum SubCommand { /// List all remote Node.js versions - #[structopt(name = "list-remote", aliases = &["ls-remote"])] + #[structopt(name = "list-remote", visible_aliases = &["ls-remote"])] LsRemote(commands::ls_remote::LsRemote), /// List all locally installed Node.js versions - #[structopt(name = "list", aliases = &["ls"])] + #[structopt(name = "list", visible_aliases = &["ls"])] LsLocal(commands::ls_local::LsLocal), /// Install a new Node.js version