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 }