Skip to content

Commit

Permalink
main: cleanup args
Browse files Browse the repository at this point in the history
  • Loading branch information
matte-schwartz committed Jan 5, 2025
1 parent f873ec7 commit eb0990b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ const struct option *gamescope_options = (struct option[]){
{ "expose-wayland", no_argument, 0 },
{ "mouse-sensitivity", required_argument, nullptr, 's' },
{ "mangoapp", no_argument, nullptr, 0 },
{ "adaptive-sync", no_argument, nullptr, 0 },

{ "backend", required_argument, nullptr, 0 },

Expand All @@ -88,7 +89,6 @@ const struct option *gamescope_options = (struct option[]){
{ "default-touch-mode", required_argument, nullptr, 0 },
{ "generate-drm-mode", required_argument, nullptr, 0 },
{ "immediate-flips", no_argument, nullptr, 0 },
{ "adaptive-sync", no_argument, nullptr, 0 },
{ "framerate-limit", required_argument, nullptr, 0 },

// openvr options
Expand Down Expand Up @@ -203,6 +203,7 @@ const char usage[] =
" Default: 1000 nits, Max: 10000 nits\n"
" --framerate-limit Set a simple framerate limit. Used as a divisor of the refresh rate, rounds down eg 60 / 59 -> 60fps, 60 / 25 -> 30fps. Default: 0, disabled.\n"
" --mangoapp Launch with the mangoapp (mangohud) performance overlay enabled. You should use this instead of using mangohud on the game or gamescope.\n"
" --adaptive-sync Enable adaptive sync if available (variable rate refresh)\n"
"\n"
"Nested mode options:\n"
" -o, --nested-unfocused-refresh game refresh rate when unfocused\n"
Expand All @@ -213,11 +214,10 @@ const char usage[] =
" --display-index forces gamescope to use a specific display in nested mode."
"\n"
"Embedded mode options:\n"
" -O, --prefer-output list of connectors in order of preference\n"
" -O, --prefer-output list of connectors in order of preference (ex: DP-1,DP-2,DP-3,HDMI-A-1)\n"
" --default-touch-mode 0: hover, 1: left, 2: right, 3: middle, 4: passthrough\n"
" --generate-drm-mode DRM mode generation algorithm (cvt, fixed)\n"
" --immediate-flips Enable immediate flips, may result in tearing\n"
" --adaptive-sync Enable adaptive sync if available (variable rate refresh)\n"
"\n"
#if HAVE_OPENVR
"VR mode options:\n"
Expand Down

0 comments on commit eb0990b

Please sign in to comment.