diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2021-03-12 01:26:13 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2021-03-12 01:26:13 -0500 |
commit | 555f483a1860c76e6bf375124c645cf653d96c2b (patch) | |
tree | 622e627ceef0025c7670aa7998d8f0a979b8cfc0 | |
parent | d2915dc3516ede1d24891e7ab60ef9df670b273e (diff) | |
download | reloc-555f483a1860c76e6bf375124c645cf653d96c2b.tar.gz |
Update README usage block
-rw-r--r-- | README.md | 18 |
1 files changed, 11 insertions, 7 deletions
@@ -36,16 +36,20 @@ $ make install ## Usage ``` -$ reloc <str1> <str2> <input_file> <output_file> +usage: reloc [-hV] <str1> <str2> <input_file> [output_file] -Arguments: -str1 - Pattern to search for -str2 - Replace str1 with contents of str2 -input_file - Path to input file -output_file - Path to output file +Options: +--help (-h) - Display this help message and exit +--version (-V) - Display version and exit + +Positional arguments: +str1 - Search string +str2 - Replacement string +input_file - Input file name +output_file - Output file name Example: -reloc /original/path /new/path input.bin output.bin +reloc /original/string /new/string input.bin output.bin ``` ## Showcase |