Document sending commands to a running instance

Signed-off-by: Selva Nair <selva.nair@gmail.com>
pull/188/head
Selva Nair 2018-01-22 00:31:11 -05:00
parent 688f41878f
commit 874d0890dd
1 changed files with 10 additions and 0 deletions

View File

@ -343,6 +343,16 @@ BEGIN
IDS_NFO_USAGE "--help\t\t\t: Show this message.\n" \
"--connect cnn \t\t: Connect to ""cnn"" at startup. (extension must be included)\n" \
"\t\t\t Example: openvpn-gui --connect office.ovpn\n" \
"--command cmd [args]\t: Send a command to a running instance of the GUI\n" \
"Supported commands:\n"\
" connect cnn \t: connect the config named ""cnn""\n"\
" disconnect cnn \t: disconnect the config named ""cnn""\n"\
" reconnect cnn \t: reconnect the config named ""cnn""\n"\
" disconnect_all \t: disconnect all connected configs\n"\
" exit \t\t: terminate the running GUI instance (may ask for confirmation)\n"\
" status cnn \t\t: show the status window of config ""cnn"" if connected\n"\
" silent_connection [0|1]\t: set the silent_connection flag on (1) or off (0)\n"\
"\t\t\tExample: openvpn-gui.exe --command disconnect myconfig\n"\
"\n" \
"Options to override registry settings:\n" \
"--exe_path\t\t: Path to openvpn.exe.\n" \