Remove brackets from args in rz-find -h (#5439)
This commit is contained in:
parent
1d836d7fc6
commit
1edfc2f7c1
3 changed files with 39 additions and 39 deletions
|
|
@ -26,6 +26,8 @@ Only accept aligned hits
|
|||
Set block size
|
||||
.It Fl e Ar regex
|
||||
Search for regex matches (can be used multiple times)
|
||||
.It Fl E Ar cmd
|
||||
Execute command for each file found
|
||||
.It Fl f Ar from
|
||||
Start searching from address 'from'
|
||||
.It Fl F Ar file
|
||||
|
|
@ -66,8 +68,6 @@ Show hexdump of search results
|
|||
Search for zero-terminated strings
|
||||
.It Fl Z
|
||||
Show string found on each search hit
|
||||
.It Fl E Ar command
|
||||
Execute <command> for each file found.
|
||||
.Pp
|
||||
.Sh SEE ALSO
|
||||
.Pp
|
||||
|
|
|
|||
|
|
@ -197,27 +197,27 @@ static int show_help(const char *argv0, int line) {
|
|||
}
|
||||
const char *options[] = {
|
||||
// clang-format off
|
||||
"-a", "[align]", "Only accept aligned hits",
|
||||
"-b", "[size]", "Set block size",
|
||||
"-e", "[regex]", "Search for regex matches (can be used multiple times)",
|
||||
"-E", "[cmd]", "Execute command for each file found",
|
||||
"-f", "[from]", "Start searching from address 'from'",
|
||||
"-F", "[file]", "Read the contents of the file and use it as keyword",
|
||||
"-a", "align", "Only accept aligned hits",
|
||||
"-b", "size", "Set block size",
|
||||
"-e", "regex", "Search for regex matches (can be used multiple times)",
|
||||
"-E", "cmd", "Execute command for each file found",
|
||||
"-f", "from", "Start searching from address 'from'",
|
||||
"-F", "file", "Read the contents of the file and use it as keyword",
|
||||
"-h", "", "Show this help",
|
||||
"-i", "", "Identify filetype (rizin -nqcpm file)",
|
||||
"-j", "", "Output in JSON",
|
||||
"-m", "", "Magic search, file-type carver",
|
||||
"-M", "[str]", "Set a binary mask to be applied on keywords",
|
||||
"-M", "str", "Set a binary mask to be applied on keywords",
|
||||
"-n", "", "Do not stop on read errors",
|
||||
"-r", "", "Print using rizin commands",
|
||||
"-s", "[str]", "Search for a specific string (can be used multiple times)",
|
||||
"-w", "[str]", "Search for a specific wide string (can be used multiple times). Assumes str is UTF-8.",
|
||||
"-I", "[str]", "Search for an entry in import table.",
|
||||
"-S", "[str]", "Search for a symbol in symbol table.",
|
||||
"-t", "[to]", "Stop search at address 'to'",
|
||||
"-s", "str", "Search for a specific string (can be used multiple times)",
|
||||
"-w", "str", "Search for a specific wide string (can be used multiple times). Assumes str is UTF-8.",
|
||||
"-I", "str", "Search for an entry in import table.",
|
||||
"-S", "str", "Search for a symbol in symbol table.",
|
||||
"-t", "to", "Stop search at address 'to'",
|
||||
"-q", "", "Quiet - do not show headings (filenames) above matching contents (default for searching a single file)",
|
||||
"-v", "", "Show version information",
|
||||
"-x", "[hex]", "Search for hexpair string (909090) (can be used multiple times)",
|
||||
"-x", "hex", "Search for hexpair string (909090) (can be used multiple times)",
|
||||
"-X", "", "Show hexdump of search results",
|
||||
"-z", "", "Search for zero-terminated strings",
|
||||
"-Z", "", "Show string found on each search hit",
|
||||
|
|
|
|||
|
|
@ -499,30 +499,30 @@ ec diff.match green | match color
|
|||
ec diff.unmatch red | mismatch color
|
||||
|
||||
[36mUsage: [0mrz-find [-mXnzZhqv] [-a align] [-b sz] [-f/t from/to] [-[e|s|w|S|I] str] [-x hex] -|file|dir ..
|
||||
[32m-a[0m[33m [align] [0m[0mOnly accept aligned hits
|
||||
[32m-b[0m[33m [size] [0m [0mSet block size
|
||||
[32m-e[0m[33m [regex] [0m[0mSearch for regex matches (can be used multiple times)
|
||||
[32m-E[0m[33m [cmd] [0m [0mExecute command for each file found
|
||||
[32m-f[0m[33m [from] [0m [0mStart searching from address 'from'
|
||||
[32m-F[0m[33m [file] [0m [0mRead the contents of the file and use it as keyword
|
||||
[32m-h[0m [0mShow this help
|
||||
[32m-i[0m [0mIdentify filetype (rizin -nqcpm file)
|
||||
[32m-j[0m [0mOutput in JSON
|
||||
[32m-m[0m [0mMagic search, file-type carver
|
||||
[32m-M[0m[33m [str] [0m [0mSet a binary mask to be applied on keywords
|
||||
[32m-n[0m [0mDo not stop on read errors
|
||||
[32m-r[0m [0mPrint using rizin commands
|
||||
[32m-s[0m[33m [str] [0m [0mSearch for a specific string (can be used multiple times)
|
||||
[32m-w[0m[33m [str] [0m [0mSearch for a specific wide string (can be used multiple times). Assumes str is UTF-8.
|
||||
[32m-I[0m[33m [str] [0m [0mSearch for an entry in import table.
|
||||
[32m-S[0m[33m [str] [0m [0mSearch for a symbol in symbol table.
|
||||
[32m-t[0m[33m [to] [0m [0mStop search at address 'to'
|
||||
[32m-q[0m [0mQuiet - do not show headings (filenames) above matching contents (default for searching a single file)
|
||||
[32m-v[0m [0mShow version information
|
||||
[32m-x[0m[33m [hex] [0m [0mSearch for hexpair string (909090) (can be used multiple times)
|
||||
[32m-X[0m [0mShow hexdump of search results
|
||||
[32m-z[0m [0mSearch for zero-terminated strings
|
||||
[32m-Z[0m [0mShow string found on each search hit
|
||||
[32m-a[0m[33m align [0m[0mOnly accept aligned hits
|
||||
[32m-b[0m[33m size [0m [0mSet block size
|
||||
[32m-e[0m[33m regex [0m[0mSearch for regex matches (can be used multiple times)
|
||||
[32m-E[0m[33m cmd [0m [0mExecute command for each file found
|
||||
[32m-f[0m[33m from [0m [0mStart searching from address 'from'
|
||||
[32m-F[0m[33m file [0m [0mRead the contents of the file and use it as keyword
|
||||
[32m-h[0m [0mShow this help
|
||||
[32m-i[0m [0mIdentify filetype (rizin -nqcpm file)
|
||||
[32m-j[0m [0mOutput in JSON
|
||||
[32m-m[0m [0mMagic search, file-type carver
|
||||
[32m-M[0m[33m str [0m [0mSet a binary mask to be applied on keywords
|
||||
[32m-n[0m [0mDo not stop on read errors
|
||||
[32m-r[0m [0mPrint using rizin commands
|
||||
[32m-s[0m[33m str [0m [0mSearch for a specific string (can be used multiple times)
|
||||
[32m-w[0m[33m str [0m [0mSearch for a specific wide string (can be used multiple times). Assumes str is UTF-8.
|
||||
[32m-I[0m[33m str [0m [0mSearch for an entry in import table.
|
||||
[32m-S[0m[33m str [0m [0mSearch for a symbol in symbol table.
|
||||
[32m-t[0m[33m to [0m [0mStop search at address 'to'
|
||||
[32m-q[0m [0mQuiet - do not show headings (filenames) above matching contents (default for searching a single file)
|
||||
[32m-v[0m [0mShow version information
|
||||
[32m-x[0m[33m hex [0m [0mSearch for hexpair string (909090) (can be used multiple times)
|
||||
[32m-X[0m [0mShow hexdump of search results
|
||||
[32m-z[0m [0mSearch for zero-terminated strings
|
||||
[32m-Z[0m [0mShow string found on each search hit
|
||||
|
||||
[36mUsage: [0mrz-gg [-FOLsrxhvz] [-a arch] [-b bits] [-k os] [-o file] [-I path]
|
||||
[-i sc] [-e enc] [-B hex] [-c k=v] [-C file] [-p pad] [-q off]
|
||||
|
|
|
|||
Loading…
Reference in a new issue