@@ -33,28 +33,44 @@ README.md
3333```
3434$ grep_bin -h
3535
36- grep_bin 1.1.1
36+ grep_bin 1.2.0
3737LaBatata101 <labatata101@linuxmail.org>
3838Searches recursively a directory or multiple files for a sequence of bytes or ASCII string.
3939
4040USAGE:
41- grep_bin [OPTIONS] <FILE>... <PATTERN>
41+ grep_bin [FLAGS] [ OPTIONS] <FILE>... <PATTERN>
4242
4343FLAGS:
44- -h, --help Prints help information
45- -V, --version Prints version information
44+ -h, --help
45+ Prints help information
46+
47+ -p, --print-only
48+ Prints only the file name that contais the match.
49+
50+ -V, --version
51+ Prints version information
52+
4653
4754OPTIONS:
48- -c <context_bytes_size> Defines the number of bytes that will be printed in each line. [default: 16]
49- -f <filetype>... Filter the search by the file extensions.
50- Examples of input: jpg, mp3, exe
55+ -c <context_bytes_size>
56+ Defines the number of bytes that will be printed in each line. [default: 16]
57+
58+ -f <filetype>...
59+ Filter the search by the file extensions.
60+ Examples of input: jpg, mp3, exe
61+ -s, --skip-bytes <skip_bytes>
62+ Skip n bytes before searching. [default: 0]
63+
5164
5265ARGS:
53- <FILE>... The file path
54- <PATTERN> Can be a ascii string or a byte sequence.
55- Ascii strings should be passed inside quotes like so '"This is a string"'
56- Escaping quotes '"This is a \"quote\""'
57- All of these byte sequence are valid: f9b4ca, F9B4CA and f9B4Ca
66+ <FILE>...
67+ The file path
68+
69+ <PATTERN>
70+ Can be a ascii string or a byte sequence.
71+ Ascii strings should be passed inside quotes like so '"This is a string"'
72+ Escaping quotes '"This is a \"quote\""'
73+ All of these byte sequence are valid: f9b4ca, F9B4CA and f9B4Ca
5874```
5975
6076# Building Manually
0 commit comments