From 555f483a1860c76e6bf375124c645cf653d96c2b Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Fri, 12 Mar 2021 01:26:13 -0500 Subject: Update README usage block --- README.md | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 002663f..b0ca7b6 100644 --- a/README.md +++ b/README.md @@ -36,16 +36,20 @@ $ make install ## Usage ``` -$ reloc +usage: reloc [-hV] [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 -- cgit