Commit 8b094b3e authored by Niels Möller's avatar Niels Möller

* src/lshg.c: Use new client.c option parsing.

Rev: src/lshg.c:1.4
parent 5d454663
...@@ -219,8 +219,7 @@ main_argp_parser(int key, char *arg, struct argp_state *state) ...@@ -219,8 +219,7 @@ main_argp_parser(int key, char *arg, struct argp_state *state)
case ARGP_KEY_NO_ARGS: case ARGP_KEY_NO_ARGS:
argp_usage(state); argp_usage(state);
break; break;
#endif
#if 0
case ARGP_KEY_ARG: case ARGP_KEY_ARG:
if (!state->arg_num) if (!state->arg_num)
{ {
...@@ -249,12 +248,13 @@ main_argp_parser(int key, char *arg, struct argp_state *state) ...@@ -249,12 +248,13 @@ main_argp_parser(int key, char *arg, struct argp_state *state)
self->super.user, self->super.user,
self->super.remote); self->super.remote);
#if 0
if (object_queue_is_empty(&self->super.actions)) if (object_queue_is_empty(&self->super.actions))
{ {
argp_error(state, "No actions given."); argp_error(state, "No actions given.");
break; break;
} }
#endif
break; break;
#if 0 #if 0
case 'E': case 'E':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment