Skip to content

Commit

Permalink
Updated usage
Browse files Browse the repository at this point in the history
  • Loading branch information
gamozolabs committed Feb 21, 2022
1 parent 15cd0cd commit f4820ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ is based at the address you want it to be at.
To use this tool, simply:

```
Usage: elfloader [--binary] [--base=<addr>] <input ELF> <output>
Usage: elfloader [--perms] [--binary] [--base=<addr>] <input ELF> <output>
--binary - Don't output a FELF, output the raw loaded image with no
metadata
--perms - Create a FELF0002 which includes permission data, overrides
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ fn main() -> Result<()> {

if args.len() != 3 {
println!(
r#"Usage: elfloader [--binary] [--base=<addr>] <input ELF> <output>
r#"Usage: elfloader [--perms] [--binary] [--base=<addr>] <input ELF> <output>
--binary - Don't output a FELF, output the raw loaded image with no
metadata
--perms - Create a FELF0002 which includes permission data, overrides
Expand Down

0 comments on commit f4820ea

Please sign in to comment.