From 6bef09b8c0e2fc323d5711a157464278463b7f62 Mon Sep 17 00:00:00 2001 From: networkException Date: Thu, 9 Nov 2023 23:13:26 +0100 Subject: [PATCH] Main: Use FILE_PATH as the environment variable for positional path --- src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.rs b/src/main.rs index 1232803..4cd3f65 100644 --- a/src/main.rs +++ b/src/main.rs @@ -76,6 +76,7 @@ impl Display for BranchType { #[command(author, version, about, long_about = None)] struct Arguments { /// An optional path write generated output to + #[arg(env = "FILE_PATH")] path: Option, /// The number of characters to generate (not bytes)