From 0e709d8c21ae7ddd55943776abb7f1d926b0b8dc Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Fri, 3 Aug 2007 03:06:02 +0000 Subject: fixed client options for eventing --- src/wsman.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src') 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", ""}, - {"notification URI", 'Z', U_OPTION_ARG_STRING, &event_delivery_uri, + {"notification-uri", 'Z', U_OPTION_ARG_STRING, &event_delivery_uri, "Where notifications are sent", ""}, - {"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", ""}, {"heartbeat",'H', U_OPTION_ARG_INT, &event_heartbeat, "Send hearbeat in an interval", ""}, {"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", ""}, {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) -- cgit