summaryrefslogtreecommitdiffstats
path: root/cli/src/cli.h
diff options
context:
space:
mode:
authorCsaba Henk <csaba@gluster.com>2010-09-15 08:11:17 +0000
committerVijay Bellur <vijay@dev.gluster.com>2010-09-16 23:07:38 -0700
commitcecc24958374cfecddd64535c10d53ead8c7ad24 (patch)
tree7f9b3c00dbb0854b9f1de78bc2d0e0c76f720064 /cli/src/cli.h
parentd787bca47fc038facb34221ee9855934f7230ef4 (diff)
cli: make cli behave nicely with batch commands piped in in stdin
Signed-off-by: Csaba Henk <csaba@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 1570 (geosync related changes) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1570
Diffstat (limited to 'cli/src/cli.h')
-rw-r--r--cli/src/cli.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/src/cli.h b/cli/src/cli.h
index 091114fcaca..44f65368521 100644
--- a/cli/src/cli.h
+++ b/cli/src/cli.h
@@ -39,7 +39,8 @@ enum argp_option_keys {
ARGP_PORT_KEY = 'p',
};
-#define GLUSTER_MODE_SCRIPT (1 << 0)
+#define GLUSTER_MODE_SCRIPT (1 << 0)
+#define GLUSTER_MODE_ERR_FATAL (1 << 1)
struct cli_state;
struct cli_cmd_word;