lyxclient -V (return code: 1)
lyxclient: No suitable server found.
lyxclient -h (return code: 0)
Usage: lyxclient [options]
Options are:
-a address set address of the lyx socket
-t directory set system temporary directory (for detecting sockets)
-p pid select a running lyx by pidi
-c command send a single command and quit (LYXCMD prefix needed)
-g file row send a command to go to file and row
-n name set client name
-h name display this help end exit
If -a is not used, lyxclient will use the arguments of -t and -p to look for
a running lyx. If -t is not set, 'directory' defaults to the system directory. If -p is set,
lyxclient will connect only to a lyx with the specified pid. Options -c and -g
cannot be set simultaneoulsly. If no -c or -g options are given, lyxclient
will read commands from standard input and disconnect when command read is BYE:
System directory is: /tmp