diff --git a/xwayland-game-wrapper b/xwayland-game-wrapper index a7b5399..103eb2a 100755 --- a/xwayland-game-wrapper +++ b/xwayland-game-wrapper @@ -15,7 +15,7 @@ function die { # print_help function print_help { - local exec_name="$(basename "${1}")" + local exec_name="${1:t}" printf 'usage: %s [OPTIONS...] [ARGS...]\n' "${exec_name}" printf 'Run a game inside an Xwayland session with a window manager. This\n' printf 'is very similar to gamescope, except that there is a window\n'