Skip to content

Commit 1e0e438

Browse files
authored
Improve few help messages ##help
1 parent f5f22ec commit 1e0e438

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

libr/core/cmd.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -249,8 +249,8 @@ static const RCoreHelpMessage help_msg_equal = {
249249
"=t", "port", "start the tcp server (echo x|nc ::1 9090 or curl ::1:9090/cmd/x)",
250250
"=r", "port", "start the rap server (o rap://9999)",
251251
"=g", "[?]", "start the gdbserver",
252-
"=h", "[?]", "start the http webserver",
253-
"=H", "[?]", "start the http webserver (and launch the web browser)",
252+
"=h", " port", "start the http webserver on 'port'",
253+
"=H", " port", "start the http webserver on 'port' (launch browser)",
254254
"\nother:", "", "",
255255
"=&", ":port", "start rap server in background (same as '&_=h')",
256256
"=", ":host:port cmd", "run 'cmd' command on remote server",
@@ -270,9 +270,9 @@ static const RCoreHelpMessage help_msg_equalh = {
270270
"=h-", "", "stop background webserver",
271271
"=h--", "", "stop foreground webserver",
272272
"=h*", "", "restart current webserver",
273-
"=h&", " port", "start http server in background",
274-
"=H", " port", "launch browser and listen for http",
275-
"=H&", " port", "launch browser and listen for http in background",
273+
"=h&", " port", "start http server on 'port' in background",
274+
"=H", " port", "start http server on 'port' (launch browser)",
275+
"=H&", " port", "start http server on 'port' in background (launch browser)",
276276
NULL
277277
};
278278

libr/core/cmd_help.inc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ static RCoreHelpMessage help_msg_at_at = {
9393

9494
static RCoreHelpMessage help_msg_single_quote = {
9595
"'", "# run a command without evaluating any special character", "",
96-
"'", "?e hello @ world", "print the given string, including the @ sign and the rest (r2.call)",
96+
"'", "?e hello @ world", "print everything after `?e` (r2.call)",
9797
"'", "0x123'?v $$", "run the '?v $$' command in the 0x123 offset (same as r2.callAt)",
9898
"'", "@entry0'?v $$", "same as '0x but supports non numeric offsets",
9999
NULL

0 commit comments

Comments
 (0)