Quick access to command line help
Brought to you by:
marha
I use vcxsrv mostly on the command line (embdedded in .xserverrc scripts used by startx on my WSL installations in Windows 10).
Every once in a while I need a reminder of the syntax. It would be nice if I could get this at my fingertips with:
vcxsrv.exe -help
The work around for now:
Google "vcxsrv usage"
Actually type "vcxsrvexe -help"; This command will bail out, and the log file will contain the Usage model (%LOCALAPPDATA%/Temp/VCXSrv.0.log)
I don't know how I missed this, but I just downloaded the latest version of VcXsrv, and to my surprise:
/mnt/c/Program\ Files/VcXsrv/vcsrv.exe -help
worked just fine (the -help is even documented in the stdout output).
The only odity would be that the output still ends with:
(II) Server terminated successfully (0). Closing log file.
And I get a popup showing:
"The VcXsrv help text has been printed to....
Please open
.... to read the help text.
...
XWin was started with the following command-line:
vcxrv -hlp"
That seems to be redundant (no log file required for a simple -help request) and annoying (I have to click OK for information I already have in stdout).
The specific request is:
1. Don't engage a log file when asking for -help.
2. Don't have a popup talking about the log file, which is an extra window I now have to close.
Last edit: flandraco 2018-09-19