Skip to content

Commit

Permalink
fix(path): path can't have short and long names
Browse files Browse the repository at this point in the history
  • Loading branch information
robertohuertasm committed Apr 12, 2022
1 parent f3d6f52 commit 32fc671
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"]
edition = "2021"
license = "MIT"
Expand Down
2 changes: 0 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 32fc671

Please sign in to comment.