pcontrol [-c CMD, --command=CMD] [-s FILE, --socket=FILE] [-p PRG, --program=PRG] [-q, --quiet] [-v, --verbose] [-i, --ignore-errors] [--help] [--version] [FILE...]
With pcontrol commands can be send to the running pproxy or pserv server. If no files are given on the command line and the --command option is not used, commands are read interactively from the terminal. If GNU readline support is compiled in, it will be used.
If one or more filenames are given on the command line, these files are read in order and all lines are send to the server. Lines beginning with '#' are ignored. '-' can be used to read from STDIN.
If the --command option is used, the command after --command is send to the server.
If neither the --program nor the --socket option is given, the program will look for the socket of a running pproxy and if that is not found for the socket of a running pserv.
Start the program in interactive mode and type '/h' for more information about possible commands, parameters and return codes.
Send CMD to server instead of reading them from the named files.
Open FILE as control socket to server. This option can not be used together with --program.
Open control socket to program PRG. The corresponding socket in /var/run/popular will be used. This option can not be used together witch --socket.
Don't print answer messages from server.
Print messages as they are sent to the server.
Ignore errors from server. Without this option the program is terminated after the first error and a corresponding return code is set.
Print short help screen.
Print version information.