diff options
Diffstat (limited to 'cli/src/cli.c')
| -rw-r--r-- | cli/src/cli.c | 7 | 
1 files changed, 7 insertions, 0 deletions
diff --git a/cli/src/cli.c b/cli/src/cli.c index 67f1ad25793..a77200c6692 100644 --- a/cli/src/cli.c +++ b/cli/src/cli.c @@ -326,14 +326,21 @@ cli_opt_parse (char *opt, struct cli_state *state)                  return 0;          } +        if (strcmp (opt, "wignore") == 0) { +                state->mode |= GLUSTER_MODE_WIGNORE; +                return 0; +        } +          oarg = strtail (opt, "mode=");          if (oarg) {                  if (strcmp (oarg, "script") == 0) {                          state->mode |= GLUSTER_MODE_SCRIPT;                          return 0;                  } +                  if (strcmp (oarg, "interactive") == 0)                          return 0; +                  return -1;          }  | 
