From 04714648bb2266c88116e5184b80cd0b4377e383 Mon Sep 17 00:00:00 2001 From: Khairul Azhar Kasmiran Date: Tue, 7 Oct 2025 21:43:06 +0800 Subject: [PATCH] Remove arg for `-X` in `rz-gg -h` (#5440) --- binrz/man/rz-gg.1 | 2 +- librz/main/rz-gg.c | 2 +- test/db/tools/rz | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/binrz/man/rz-gg.1 b/binrz/man/rz-gg.1 index ac37ee9023..36395301a4 100644 --- a/binrz/man/rz-gg.1 +++ b/binrz/man/rz-gg.1 @@ -94,7 +94,7 @@ Show version information Patch hexpairs at given offset .It Fl x Execute -.It Fl X Ar hexpairs +.It Fl X Execute rop chain, using the stack provided .It Fl z Output in C string syntax diff --git a/librz/main/rz-gg.c b/librz/main/rz-gg.c index 475a546d3b..c76ad6a951 100644 --- a/librz/main/rz-gg.c +++ b/librz/main/rz-gg.c @@ -46,7 +46,7 @@ static int usage(int v) { "-v", "" ,"Show version information", "-w", "[off:hex]" ,"Patch hexpairs at given offset", "-x", "" ,"Execute", - "-X", "[hexpairs]" ,"Execute rop chain, using the stack provided", + "-X", "" ,"Execute rop chain, using the stack provided", "-z", "" ,"Output in C string syntax", // clang-format on }; diff --git a/test/db/tools/rz b/test/db/tools/rz index c107af71b1..1741309904 100644 --- a/test/db/tools/rz +++ b/test/db/tools/rz @@ -557,7 +557,7 @@ ec diff.unmatch red | mismatch color -v Show version information -w [off:hex]  Patch hexpairs at given offset -x Execute - -X [hexpairs]  Execute rop chain, using the stack provided + -X Execute rop chain, using the stack provided -z Output in C string syntax Usage: rz-hash [-vhBkjLq] [-b S] [-a A] [-c H] [-E A] [-D A] [-s S] [-x S] [-f O] [-t O] [files|-] ...