diff options
author | Anas Nashif <nashif@intel.com> | 2007-08-03 03:06:02 +0000 |
---|---|---|
committer | Anas Nashif <nashif@intel.com> | 2007-08-03 03:06:02 +0000 |
commit | 0e709d8c21ae7ddd55943776abb7f1d926b0b8dc (patch) | |
tree | 44587d0bfd12dceaa621250c58d7da34168209f1 /src | |
parent | 4080032423e729c9506ffea7beafd4ab27777ea5 (diff) | |
download | wsmancli-0e709d8c21ae7ddd55943776abb7f1d926b0b8dc.tar.gz wsmancli-0e709d8c21ae7ddd55943776abb7f1d926b0b8dc.tar.xz wsmancli-0e709d8c21ae7ddd55943776abb7f1d926b0b8dc.zip |
fixed client options for eventing
Diffstat (limited to 'src')
-rw-r--r-- | src/wsman.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/wsman.c b/src/wsman.c index 62954b0..9d4bdff 100644 --- a/src/wsman.c +++ b/src/wsman.c @@ -234,22 +234,22 @@ char wsman_parse_options(int argc, char **argv) }; u_option_entry_t event_options[] = { - {"delivery mode", 'G', U_OPTION_ARG_STRING, &event_delivery_mode, + {"delivery-mode", 'G', U_OPTION_ARG_STRING, &event_delivery_mode, "Four delivery modes available: push/pushwithack/events/pull", "<mode>"}, - {"notification URI", 'Z', U_OPTION_ARG_STRING, &event_delivery_uri, + {"notification-uri", 'Z', U_OPTION_ARG_STRING, &event_delivery_uri, "Where notifications are sent", "<uri>"}, - {"subscription expire time", 'r', U_OPTION_ARG_INT, &event_subscription_expire, - "subscription will be expired in such a time", + {"subscription-expiry-time", 'r', U_OPTION_ARG_INT, &event_subscription_expire, + "subscription expiry time in seconds", "<seconds>"}, {"heartbeat",'H', U_OPTION_ARG_INT, &event_heartbeat, "Send hearbeat in an interval", "<seconds>"}, {"bookmark", 'l', U_OPTION_ARG_NONE, &event_sendbookmark, "Send bookmark",NULL}, - {"subscription identifier", 'i', U_OPTION_ARG_STRING, &event_subscription_id, - "To specify which subscription", + {"subscription-identifier", 'i', U_OPTION_ARG_STRING, &event_subscription_id, + "Used to specify which subscription", "<uuid:XXX>"}, {NULL} }; @@ -459,7 +459,7 @@ static int wsman_options_get_delivery_mode(void) break; } } - return mode; + return mode; } static int wsman_read_client_config(dictionary * ini) |