tools: Consistently refer to $XDG_RUNTIME_DIR

In one place, `$XDG_RUNTIME` was referenced. Which is wrong since the
variable is called `$XDG_RUNTIME_DIR`. The other uses referred to
`XDG_RUNTIME`, which could be taken as a shorthand, but it's clearer to
just use the name of the variable.
This commit is contained in:
Ian Douglas Scott 2023-05-19 18:43:32 -07:00 committed by Ian Douglas Scott
parent 349ec5b790
commit cf932d1efb
3 changed files with 3 additions and 3 deletions

View file

@ -70,7 +70,7 @@ usage(FILE *fp, const char *argv0)
"Start an EI client and print communication from the EIS implementation in YAML format.\n"
"The client will bind to all available capabilities on all seats.\n"
"\n"
"By default, this client connects to $LIBEI_SOCKET if set or XDG_RUNTIME/eis-0\n"
"By default, this client connects to $LIBEI_SOCKET if set or $XDG_RUNTIME_DIR/eis-0\n"
"\n"
"Options:\n"
" --socketfd Use the given fd as socket to the EIS implementation\n"

View file

@ -174,7 +174,7 @@ usage(FILE *fp, const char *argv0)
"\n"
"Options:\n"
" --socket Use the socket backend. The socket path is $LIBEI_SOCKET if set, \n"
" otherwise XDG_RUNTIME/eis-0\n"
" otherwise $XDG_RUNTIME_DIR/eis-0\n"
" --portal Use the portal backend.\n"
" --busname Use the given busname (default: org.freedesktop.portal.Desktop)\n"
" --verbose Enable debugging output\n"

View file

@ -554,7 +554,7 @@ usage(FILE *fp, const char *argv0)
"and devices and prints any events from the client to stdout.\n"
"\n"
"Options:\n"
" --socketpath Use the given socket path. Default: $XDG_RUNTIME/eis-0\n"
" --socketpath Use the given socket path. Default: $XDG_RUNTIME_DIR/eis-0\n"
" --layout Use the given XKB layout (requires libxkbcommon). Default: none\n"
" --uinput Set up each device as uinput device (this requires root)\n"
" --verbose Enable debugging output\n"