Commit eded3317 authored by Simon Matter's avatar Simon Matter Committed by Mike Gabriel

nxagent: Print correct application in usage message.

Fixes ArcticaProject/nx-libs#639.
parent 7c32938a
......@@ -556,7 +556,12 @@ AdjustWaitForDelay (void * waitTime, unsigned long newdelay)
void UseMsg(void)
{
#ifdef NXAGENT_SERVER
extern const char *__progname;
ErrorF("Usage: %s [<options>] [:<display>]\n\n", __progname);
#else
ErrorF("use: X [:<display>] [option]\n");
#endif
ErrorF("-a # mouse acceleration (pixels)\n");
ErrorF("-ac disable access control restrictions\n");
#ifdef MEMBUG
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment