diff options
Diffstat (limited to 'cli/src/cli.c')
| -rw-r--r-- | cli/src/cli.c | 5 | 
1 files changed, 5 insertions, 0 deletions
diff --git a/cli/src/cli.c b/cli/src/cli.c index 4ff172805..082ba67c0 100644 --- a/cli/src/cli.c +++ b/cli/src/cli.c @@ -307,6 +307,11 @@ cli_opt_parse (char *opt, struct cli_state *state)                  exit (0);          } +        if (strcmp (opt, "print-statedumpdir") == 0) { +                cli_out ("%s", DEFAULT_VAR_RUN_DIRECTORY); +                exit (0); +        } +          if (strcmp (opt, "xml") == 0) {  #if (HAVE_LIB_XML)                  state->mode |= GLUSTER_MODE_XML;  | 
