aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Cargo.toml2
-rw-r--r--src/main.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 0af2bf8..9d6a643 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -5,7 +5,7 @@ edition = "2024"
5 5
6[dependencies] 6[dependencies]
7anyhow = "1.0.98" 7anyhow = "1.0.98"
8clap = { version = "4.5.40", features = ["derive"] } 8clap = { version = "4.5.40", features = ["derive", "env"] }
9ctrlc = "3.4.7" 9ctrlc = "3.4.7"
10notify = "8.0.0" 10notify = "8.0.0"
11tracing = "0.1.41" 11tracing = "0.1.41"
diff --git a/src/main.rs b/src/main.rs
index 05208ea..6fbab07 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -120,7 +120,7 @@ struct Cli {
120#[derive(Args)] 120#[derive(Args)]
121struct Global { 121struct Global {
122 /// Root directory for daemon files (pid, logs). If not specified, searches for git root. 122 /// Root directory for daemon files (pid, logs). If not specified, searches for git root.
123 #[arg(long, global = true)] 123 #[arg(long, global = true, env = "DEMON_ROOT_DIR")]
124 root_dir: Option<PathBuf>, 124 root_dir: Option<PathBuf>,
125} 125}
126 126