Down with capitalism - lowercase all capitalized strings in r*2 -h ##tools

This commit is contained in:
pancake 2022-07-02 22:08:55 +02:00 committed by pancake
parent 4d3887fb1d
commit 7085809f34
7 changed files with 50 additions and 50 deletions

View File

@ -110,14 +110,14 @@ R_API int r_main_r2agent(int argc, const char **argv) {
s = r_socket_new (false);
s->local = listenlocal;
if (!r_socket_listen (s, port, NULL)) {
eprintf ("Cannot listen on %d\n", s->port);
R_LOG_ERROR ("Cannot listen on %d", s->port);
r_socket_free (s);
return 1;
}
eprintf ("http://localhost:%d/\n", s->port);
if (dosandbox && !r_sandbox_enable (true)) {
eprintf ("sandbox: Cannot be enabled.\n");
R_LOG_ERROR ("Cannot enable the sandbox");
free (pfile);
r_list_free (so.authtokens);
r_socket_free (s);

View File

@ -63,7 +63,7 @@ static int rabin_show_help(int v) {
" -u unfiltered (no rename duplicated symbols/sections)\n"
" -U resoUrces\n"
" -v display version and quit\n"
" -V Show binary version information\n"
" -V show binary version information\n"
" -w display try/catch blocks\n"
" -x extract bins contained in file\n"
" -X [fmt] [f] .. package in fat or zip the given files and bins contained in file\n"

View File

@ -459,15 +459,15 @@ static int show_help(int v) {
" -z diff on extracted strings\n"
" -Z diff code comparing zignatures\n\n"
"Graph Output formats: (-m [mode])\n"
" <blank/a> Ascii art\n"
" <blank/a> ascii art\n"
" s r2 commands\n"
" d Graphviz dot\n"
" g Graph Modelling Language (gml)\n"
" d graphviz dot\n"
" g graph Modelling Language (gml)\n"
" j json\n"
" J json with disarm\n"
" k SDB key-value\n"
" t Tiny ascii art\n"
" i Interactive ascii art\n");
" k sdb key-value\n"
" t tiny ascii art\n"
" i interactive ascii art\n");
}
return 1;
}

View File

@ -178,7 +178,7 @@ static int show_help(const char *argv0, int line) {
" -h show this help\n"
" -i identify filetype (r2 -nqcpm file)\n"
" -j output in JSON\n"
" -L List all io plugins (same as r2 for now)\n"
" -L list all io plugins (same as r2 for now)\n"
" -m magic search, file-type carver\n"
" -M [str] set a binary mask to be applied on keywords\n"
" -n do not stop on read errors\n"

View File

@ -1,4 +1,4 @@
/* radare - LGPL - Copyright 2011-2021 - pancake */
/* radare - LGPL - Copyright 2011-2022 - pancake */
#include <r_egg.h>
#include <r_bin.h>

View File

@ -344,33 +344,33 @@ static int rasm_show_help(int v) {
" [-f file] [-F fil:ter] [-i skip] [-l len] 'code'|hex|0101b|-\n");
}
if (v != 1) {
printf (" -a [arch] Set architecture to assemble/disassemble (see -L)\n"
" -A Show Analysis information from given hexpairs\n"
" -b [bits] Set cpu register size (8, 16, 32, 64) (RASM2_BITS)\n"
" -B Binary input/output (-l is mandatory for binary input)\n"
" -c [cpu] Select specific CPU (depends on arch)\n"
" -C Output in C format\n"
" -d, -D Disassemble from hexpair bytes (-D show hexpairs)\n"
" -e Use big endian instead of little endian\n"
" -E Display ESIL expression (same input as in -d)\n"
" -f [file] Read data from file\n"
" -F [in:out] Specify input and/or output filters (att2intel, x86.pseudo, ...)\n"
" -h, -hh Show this help, -hh for long\n"
printf (" -a [arch] set architecture to assemble/disassemble (see -L)\n"
" -A show Analysis information from given hexpairs\n"
" -b [bits] set cpu register size (8, 16, 32, 64) (RASM2_BITS)\n"
" -B binary input/output (-l is mandatory for binary input)\n"
" -c [cpu] select specific CPU (depends on arch)\n"
" -C output in C format\n"
" -d, -D disassemble from hexpair bytes (-D show hexpairs)\n"
" -e use big endian instead of little endian\n"
" -E display ESIL expression (same input as in -d)\n"
" -f [file] read data from file\n"
" -F [in:out] specify input and/or output filters (att2intel, x86.pseudo, ...)\n"
" -h, -hh show this help, -hh for long\n"
" -i [len] ignore/skip N bytes of the input buffer\n"
" -j output in json format\n"
" -k [kernel] Select operating system (linux, windows, darwin, ..)\n"
" -l [len] Input/Output length\n"
" -L List RAsm plugins: (a=asm, d=disasm, A=analyze, e=ESIL)\n"
" -LL List RAnal plugins\n"
" -o,-@ [addr] Set start address for code (default 0)\n"
" -O [file] Output file name (rasm2 -Bf a.asm -O a)\n"
" -p Run SPP over input for assembly\n"
" -k [kernel] select operating system (linux, windows, darwin, ..)\n"
" -l [len] input/Output length\n"
" -L list RAsm plugins: (a=asm, d=disasm, A=analyze, e=ESIL)\n"
" -LL list RAnal plugins\n"
" -o,-@ [addr] set start address for code (default 0)\n"
" -O [file] output file name (rasm2 -Bf a.asm -O a)\n"
" -p run SPP over input for assembly\n"
" -q quiet mode\n"
" -r output in radare commands\n"
" -s [syntax] Select syntax (intel, att)\n"
" -v Show version information\n"
" -x Use hex dwords instead of hex pairs when assembling.\n"
" -w What's this instruction for? describe opcode\n"
" -s [syntax] select syntax (intel, att)\n"
" -v show version information\n"
" -x use hex dwords instead of hex pairs when assembling.\n"
" -w what's this instruction for? describe opcode\n"
" If '-l' value is greater than output length, output is padded with nops\n"
" If the last argument is '-' reads from stdin\n");
printf ("Environment:\n"
@ -406,10 +406,10 @@ static int rasm_show_help(int v) {
".int16 [num] write int16 number honoring endian\n"
".int32 [num] same for 32bit\n"
".int64 [num] same for 64bit\n"
".size N/A\n"
".section N/A\n"
".size n/a\n"
".section n/a\n"
".byte 0x10,0x20 space or comma separated list of byte values\n"
".glob N/A\n"
".glob n/a\n"
".equ K=V define K to be replaced with V in the lines below\n"
".org change the PC=$$ to make relative instructions work\n"
".text tell the linker where the code starts\n"

View File

@ -11,20 +11,20 @@ static void help(void) {
usage ();
printf (
"Flags:\n"
" -g Use git instead of rvc\n"
" -h Show this help\n"
" -q Be quiet\n"
" -v Show version\n"
" RAVC2_USER=[n] Override cfg.user value to author commit.\n"
" init Initialize repository in current directory\n"
" add [file ..] Add files to the current repository\n"
" checkout [name] Checkout given branch name\n"
" log List commits in current branch\n"
" branch List all available branches\n"
" commit [a] [m] [f] Perform a commit with the added files\n"
" branch [name] Change to another branch\n"
" -g use git instead of rvc\n"
" -h show this help\n"
" -q be quiet\n"
" -v show version\n"
" RAVC2_USER=[n] override cfg.user value to author commit.\n"
" init initialize repository in current directory\n"
" add [file ..] add files to the current repository\n"
" checkout [name] checkout given branch name\n"
" log list commits in current branch\n"
" branch list all available branches\n"
" commit [a] [m] [f] perform a commit with the added files\n"
" branch [name] change to another branch\n"
"Environment:\n"
" RAVC2_USER=[n] Override cfg.user value to author commit.\n"
" RAVC2_USER=[n] override cfg.user value to author commit.\n"
"Examples:\n"
" ravc2 init\n"
" man ravc2\n"