mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-12-18 14:04:20 +01:00
Rename -n/--no-window to -N/--no-display
The description of scrcpy is "Display and control your Android device". We want an option to disable display, another one to disable control. For naming consistency, name it --no-display. Also change the shortname to -N, so that we can use -n for --no-control later.
This commit is contained in:
@@ -247,7 +247,7 @@ scrcpy(const struct scrcpy_options *options) {
|
||||
goto finally_destroy_server;
|
||||
}
|
||||
|
||||
SDL_bool display = !options->no_window;
|
||||
SDL_bool display = !options->no_display;
|
||||
|
||||
struct decoder *dec = NULL;
|
||||
if (display) {
|
||||
|
||||
Reference in New Issue
Block a user