From 12680bc52662b24e0df2829f19d2ea4d03765d2d Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Fri, 9 May 2008 04:16:33 +0000 Subject: add selector filter support style --- src/wsman.c | 326 ++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 173 insertions(+), 153 deletions(-) (limited to 'src') diff --git a/src/wsman.c b/src/wsman.c index 0bafea8..742b7fe 100644 --- a/src/wsman.c +++ b/src/wsman.c @@ -182,51 +182,51 @@ static char wsman_parse_options(int argc, char **argv) u_option_entry_t options[] = { {"debug", 'd', U_OPTION_ARG_INT, &debug_level, - "Set the verbosity of debugging output.", "1-6"}, + "Set the verbosity of debugging output.", "1-6"}, {"encoding", 'j', U_OPTION_ARG_STRING, &encoding, - "Set request message encoding"}, + "Set request message encoding"}, {"cacert", 'c', U_OPTION_ARG_STRING, &cainfo, - "Certificate file to verify the peer", ""}, + "Certificate file to verify the peer", ""}, {"cert", 'A', U_OPTION_ARG_STRING, &cert, - "Certificate file. The certificate must be in PEM format.", ""}, + "Certificate file. The certificate must be in PEM format.", ""}, {"sslkey", 'K', U_OPTION_ARG_STRING, &sslkey, - "SSL Key.", ""}, + "SSL Key.", ""}, {"username", 'u', U_OPTION_ARG_STRING, &username, - "User name", ""}, + "User name", ""}, {"path", 'g', U_OPTION_ARG_STRING, &url_path, - "Service Path (default: 'wsman')", ""}, + "Service Path (default: 'wsman')", ""}, {"input", 'J', U_OPTION_ARG_STRING, &input, - "File with resource for Create and Put operations in XML, can be a SOAP envelope", - ""}, + "File with resource for Create and Put operations in XML, can be a SOAP envelope", + ""}, {"password", 'p', U_OPTION_ARG_STRING, &password, - "User Password", ""}, + "User Password", ""}, {"hostname", 'h', U_OPTION_ARG_STRING, &server, - "Host name", ""}, + "Host name", ""}, {"endpoint", 'b', U_OPTION_ARG_STRING, &endpoint, - "End point", ""}, + "End point", ""}, {"port", 'P', U_OPTION_ARG_INT, &server_port, - "Server Port", ""}, + "Server Port", ""}, {"proxy", 'X', U_OPTION_ARG_STRING, &proxy, - "Proxy name", ""}, + "Proxy name", ""}, {"proxyauth", 'Y', U_OPTION_ARG_STRING, &proxy_upwd, - "Proxy user:pwd", ""}, + "Proxy user:pwd", ""}, {"auth", 'y', U_OPTION_ARG_STRING, &authentication_method, - "Authentication Method", ""}, + "Authentication Method", ""}, {"method", 'a', U_OPTION_ARG_STRING, &invoke_method, - "Method (Works only with 'invoke')", ""}, + "Method (Works only with 'invoke')", ""}, {"prop", 'k', U_OPTION_ARG_STRING_ARRAY, &properties, - "Properties with key value pairs (For 'put', 'invoke' and 'create')", - ""}, + "Properties with key value pairs (For 'put', 'invoke' and 'create')", + ""}, {"config-file", 'C', U_OPTION_ARG_STRING, &config_file, - "Alternate configuration file", ""}, + "Alternate configuration file", ""}, {"out-file", 'O', U_OPTION_ARG_STRING, &output_file, - "Write output to file", ""}, + "Write output to file", ""}, {"noverifypeer", 'V', U_OPTION_ARG_NONE, &noverify_peer, - "Not to verify peer certificate", NULL}, + "Not to verify peer certificate", NULL}, {"noverifyhost", 'v', U_OPTION_ARG_NONE, &noverify_host, - "Not to verify hostname", NULL}, + "Not to verify hostname", NULL}, {"transport-timeout", 'I', U_OPTION_ARG_INT, &transport_timeout, - "Transport timeout in seconds", "