From 2508c1826a456cd9a574b7f29fa2c91f1e26c0d7 Mon Sep 17 00:00:00 2001 From: 17ms <79069176+17ms@users.noreply.github.com> Date: Tue, 13 Feb 2024 22:17:07 +0200 Subject: [PATCH] removed possibly conflicting short option name --- README.md | 2 +- generator/src/main.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2ae305b..7b142ac 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ Options: -f, --function Name of the function to call in the payload DLL -n, --parameter Parameter to pass to the function -o, --output Path to the output file - -f, --flag Flag to pass to the loader (by default DllMain is called) [default: 0] + --flag Flag to pass to the loader (by default DllMain is called) [default: 0] -h, --help Print help -V, --version Print version ``` diff --git a/generator/src/main.rs b/generator/src/main.rs index a7e6844..7be8883 100644 --- a/generator/src/main.rs +++ b/generator/src/main.rs @@ -29,7 +29,7 @@ struct Args { #[arg(short, long = "output")] output_path: PathBuf, /// Flag to pass to the loader (by default DllMain is called) - #[arg(short, long, default_value_t = 0)] + #[arg(long, default_value_t = 0)] flag: u32, // preferably set type as u32 here instead of casting it when generating bootstrap }