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:
Romain Vimont
2019-03-02 22:46:46 +01:00
parent db6644f1f9
commit 163cd36ccc
4 changed files with 18 additions and 17 deletions

View File

@@ -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) {