From aa7d08ec6034bead44e1a8302cd2cd4771145c66 Mon Sep 17 00:00:00 2001 From: Simon Hornby Date: Fri, 19 Jul 2024 11:59:38 +0200 Subject: [PATCH] chore: make appname global on the cli --- server/src/cli.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/cli.rs b/server/src/cli.rs index b0becd2c..5dbcbe75 100644 --- a/server/src/cli.rs +++ b/server/src/cli.rs @@ -284,7 +284,7 @@ pub struct CliArgs { pub instance_id: String, /// App name. Used for metrics reporting. - #[clap(short, long, env, default_value = "unleash-edge")] + #[clap(short, long, env, global = true, default_value = "unleash-edge")] pub app_name: String, #[arg(long, hide = true, global = true)]