Document new --os option
authorKevin Cernekee <cernekee@gmail.com>
Sun, 28 Oct 2012 17:28:25 +0000 (10:28 -0700)
committerKevin Cernekee <cernekee@gmail.com>
Sun, 28 Oct 2012 17:28:25 +0000 (10:28 -0700)
Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
main.c
openconnect.8.in

diff --git a/main.c b/main.c
index 325ccd3..cf89a76 100644 (file)
--- a/main.c
+++ b/main.c
@@ -288,6 +288,7 @@ static void usage(void)
        printf("      --reconnect-timeout         %s\n", _("Connection retry timeout in seconds"));
        printf("      --servercert=FINGERPRINT    %s\n", _("Server's certificate SHA1 fingerprint"));
        printf("      --useragent=STRING          %s\n", _("HTTP header User-Agent: field"));
+       printf("      --os=STRING                 %s\n", _("OS type (linux,linux-64,mac,win) to report"));
        printf("      --dtls-local-port=PORT      %s\n", _("Set local port for DTLS datagrams"));
        printf("\n");
 
index 4c5b355..b941144 100644 (file)
@@ -53,6 +53,7 @@ openconnect \- Connect to Cisco AnyConnect VPN
 .OP \-\-reconnect\-timeout
 .OP \-\-servercert sha1
 .OP \-\-useragent string
+.OP \-\-os string
 .B [https://]\fIserver\fB[:\fIport\fB][/\fIgroup\fB]
 .YS
 
@@ -344,6 +345,11 @@ Use
 as 'User\-Agent:' field value in HTTP header.
 (e.g. \-\-useragent 'Cisco AnyConnect VPN Agent for Windows 2.2.0133')
 .TP
+.B \-\-os=STRING
+OS type to report to gateway.  Recognized values are: linux, linux-64, mac,
+win.  Reporting a different OS type may affect the security policy applied
+to the VPN session.
+.TP
 .B \-\-dtls\-local\-port=PORT
 Use
 .I PORT