From 32fc671cf44536221c5e8a95e8619f05a18d8d4f Mon Sep 17 00:00:00 2001 From: robertohuertasm Date: Tue, 12 Apr 2022 15:25:00 +0200 Subject: [PATCH] fix(path): path can't have short and long names --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/main.rs | 2 -- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1236408..6d478b7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -427,7 +427,7 @@ checksum = "308cc39be01b73d0d18f82a0e7b2a3df85245f84af96fdddc5d202d27e47b86a" [[package]] name = "microserver" -version = "0.2.0" +version = "0.2.1" dependencies = [ "clap", "console", diff --git a/Cargo.toml b/Cargo.toml index 233311c..44f14dd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "microserver" description = "Simple ad-hoc server with SPA support based on Warp! Excellent for testing React, Angular, Vue apps and the like." -version = "0.2.0" +version = "0.2.1" authors = ["Roberto Huertas "] edition = "2021" license = "MIT" diff --git a/src/main.rs b/src/main.rs index e1dc430..7e24863 100644 --- a/src/main.rs +++ b/src/main.rs @@ -39,8 +39,6 @@ async fn main() { ) .arg( Arg::new("path") - .long("path") - .short('t') .default_value(".") .help("The path to the files being served") .index(1),