removed possibly conflicting short option name

This commit is contained in:
17ms 2024-02-13 22:17:07 +02:00
parent 7df93acd46
commit 2508c1826a
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ Options:
-f, --function <FUNCTION_NAME> Name of the function to call in the payload DLL
-n, --parameter <PARAMETER> Parameter to pass to the function
-o, --output <OUTPUT_PATH> Path to the output file
-f, --flag <FLAG> Flag to pass to the loader (by default DllMain is called) [default: 0]
--flag <FLAG> Flag to pass to the loader (by default DllMain is called) [default: 0]
-h, --help Print help
-V, --version Print version
```

View File

@ -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
}