Display and control your Android device
Remove deprecated -c option
Romain Vimontb62df7ee91f3
diff --git a/app/src/cli.c b/app/src/cli.cindex a0bf451d..dbf6940b 100644--- a/app/src/cli.c+++ b/app/src/cli.c@@ -799,7 +799,7 @@ scrcpy_parse_args(struct scrcpy_cli_args *args, int argc, char *argv[]) {optind = 0; // reset to start from the first argument in testsint c;- while ((c = getopt_long(argc, argv, "b:c:fF:hKm:nNp:r:s:StTvV:w",+ while ((c = getopt_long(argc, argv, "b:fF:hKm:nNp:r:s:StTvV:w",long_options, NULL)) != -1) {switch (c) {case 'b':@@ -807,9 +807,6 @@ scrcpy_parse_args(struct scrcpy_cli_args *args, int argc, char *argv[]) {return false;}break;- case 'c':- LOGW("Deprecated option -c. Use --crop instead.");- // fall throughcase OPT_CROP:opts->crop = optarg;break;