Skip to content

Commit

Permalink
Remove ?: from the ??? help message as its deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
radare committed Feb 8, 2024
1 parent 1e0c6b2 commit 7da6f12
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 21 deletions.
19 changes: 0 additions & 19 deletions libr/cons/input.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,6 @@

#define I r_cons_singleton ()

#if 0
//R2__UNIX__
#include <poll.h>
static int __is_fd_ready(int fd) {
fd_set rfds;
struct timeval tv;
if (fd==-1)
return 0;
FD_ZERO (&rfds);
FD_SET (fd, &rfds);
tv.tv_sec = 0;
tv.tv_usec = 1;
if (select (1, &rfds, NULL, NULL, &tv) == -1)
return 0;
return 1;
return !FD_ISSET (0, &rfds);
}
#endif

R_API int r_cons_controlz(int ch) {
#if R2__UNIX__
if (ch == 0x1a) {
Expand Down
3 changes: 1 addition & 2 deletions libr/core/cmd_help.inc.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* radare - LGPL - Copyright 2009-2023 - pancake */
/* radare - LGPL - Copyright 2009-2024 - pancake */

#if R_INCLUDE_BEGIN

Expand Down Expand Up @@ -277,7 +277,6 @@ static RCoreHelpMessage help_msg_question = {
"?$", "", "show value all the variables ($)",
"?+", " [cmd]", "run cmd if $? > 0",
"?-", " [cmd]", "run cmd if $? < 0",
"?:", "", "list core cmd plugins",
"?=", " eip-0x804800", "update $? return code with result of operation",
"?==", " x86 `e asm.arch`", "strcmp two strings",
"??", " [cmd]", "run cmd if $? != 0",
Expand Down

0 comments on commit 7da6f12

Please sign in to comment.