From 34693cf757b0d07bf1e8eabb91c90241db7ec2da Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Wed, 25 Dec 2024 17:05:07 -0800 Subject: [PATCH] Minor change to xwayland-game-wrapper --- xwayland-game-wrapper | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'