aboutsummaryrefslogtreecommitdiffstats
path: root/src/command/server.rs
diff options
context:
space:
mode:
authorConrad Ludgate <conrad.ludgate@truelayer.com>2022-04-12 23:06:19 +0100
committerGitHub <noreply@github.com>2022-04-12 23:06:19 +0100
commita95018cc9039851e707973bc19faf907132ae4f3 (patch)
treee135f1da64c5d020f336d437f83a333298861ca0 /src/command/server.rs
parentfix env config parsing (#295) (diff)
downloadatuin-a95018cc9039851e707973bc19faf907132ae4f3.zip
goodbye warp, hello axum (#296)
Diffstat (limited to '')
-rw-r--r--src/command/server.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command/server.rs b/src/command/server.rs
index 6047e5bf..9d97e928 100644
--- a/src/command/server.rs
+++ b/src/command/server.rs
@@ -10,7 +10,7 @@ pub enum Cmd {
/// Start the server
Start {
/// The host address to bind
- #[clap(long, short)]
+ #[clap(long)]
host: Option<String>,
/// The port to bind
@@ -20,7 +20,7 @@ pub enum Cmd {
}
impl Cmd {
- pub async fn run(&self, settings: &Settings) -> Result<()> {
+ pub async fn run(&self, settings: Settings) -> Result<()> {
match self {
Self::Start { host, port } => {
let host = host