From 578c77cffc96297e4b0ad610a5ec5e2574fb17cd Mon Sep 17 00:00:00 2001 From: "Keidan (K. Billonneau)" Date: Mon, 4 Jan 2021 00:47:01 +0100 Subject: [PATCH] Update README.md --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 23f8bdc..2eea55b 100644 --- a/README.md +++ b/README.md @@ -21,8 +21,8 @@ download the software : --help, -h: Print this help. --input, -i: The input file to use (containing the hexadecimal characters). --output, -o: The output file to use. - --limit, -l: Character limit per line (the value of the "start" option is not included ; default value: [see cmake -DDEFSTART]). - --start, -s: Adding a start offset per line (default value: [see cmake -DDEFLIMIT]. + --limit, -l: Character limit per line (the value of the "start" option is not included ; default value: [see cmake -DDEFLIMIT]). + --start, -s: Adding a start offset per line (default value: [see cmake -DDEFSTART]). --printable, -p: Extracts and converts all printable characters. --extract_only, -e: Only extracts words from "start" to "limit". @@ -33,19 +33,19 @@ download the software : ## Example (with cmake -DDEFSTART=0 -DDEFLIMIT=0) -Test 1: +Test 1: `./hex2bin -i sample1.txt -o sample1.txt.new -s 6 -l 47` `./hex2bin -i sample1.txt.new -o sample1.txt.bin -p` -Test 2: +Test 2: `./hex2bin -i sample2.txt -o sample2.txt.new -l 47` `./hex2bin -i sample2.txt.new -o sample2.txt.bin -p` -Test 3: +Test 3: `./hex2bin -i sample3.txt -o sample3.txt.new -s 1`