summaryrefslogtreecommitdiffstats
path: root/cli/src/cli.h
diff options
context:
space:
mode:
Diffstat (limited to 'cli/src/cli.h')
-rw-r--r--cli/src/cli.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/cli/src/cli.h b/cli/src/cli.h
index eaa638c29d6..62aa02079da 100644
--- a/cli/src/cli.h
+++ b/cli/src/cli.h
@@ -39,9 +39,8 @@ enum argp_option_keys {
ARGP_PORT_KEY = 'p',
};
-enum gluster_mode {
- GLUSTER_MODE_SCRIPT = 1
-};
+#define GLUSTER_MODE_SCRIPT (1 << 0)
+
struct cli_state;
struct cli_cmd_word;
struct cli_cmd_tree;