Skip to content

Display and control your Android device

Remove obsolete text in error message

Romain Vimont6ee75c0cff3e
diff --git a/app/src/cli.c b/app/src/cli.c
index f930142e..d8ae4f53 100644
--- a/app/src/cli.c
+++ b/app/src/cli.c
@@ -1370,8 +1370,7 @@ parse_args_with_getopt(struct scrcpy_cli_args *args, int argc, char *argv[],
opts->keyboard_input_mode = SC_KEYBOARD_INPUT_MODE_HID;
break;
#else
- LOGE("HID over AOA (-K/--hid-keyboard) is disabled (or "
- "unsupported on this platform).");
+ LOGE("HID over AOA (-K/--hid-keyboard) is disabled.");
return false;
#endif
case OPT_MAX_FPS:
@@ -1389,8 +1388,7 @@ parse_args_with_getopt(struct scrcpy_cli_args *args, int argc, char *argv[],
opts->mouse_input_mode = SC_MOUSE_INPUT_MODE_HID;
break;
#else
- LOGE("HID over AOA (-M/--hid-mouse) is disabled (or "
- "unsupported on this platform).");
+ LOGE("HID over AOA (-M/--hid-mouse) is disabled.");
return false;
#endif
case OPT_LOCK_VIDEO_ORIENTATION:
@@ -1559,8 +1557,7 @@ parse_args_with_getopt(struct scrcpy_cli_args *args, int argc, char *argv[],
opts->otg = true;
break;
#else
- LOGE("OTG mode (--otg) is disabled (or unsupported on this "
- "platform).");
+ LOGE("OTG mode (--otg) is disabled.");
return false;
#endif
case OPT_V4L2_SINK: