aboutsummaryrefslogtreecommitdiff
path: root/jim-subcmd.h
diff options
context:
space:
mode:
Diffstat (limited to 'jim-subcmd.h')
-rw-r--r--jim-subcmd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/jim-subcmd.h b/jim-subcmd.h
index 2d05821..a2fe548 100644
--- a/jim-subcmd.h
+++ b/jim-subcmd.h
@@ -35,6 +35,7 @@ typedef struct {
* see jim-namespace.c for an example
*/
#define JIM_DEF_SUBCMD(name, args, minargs, maxargs) { name, args, NULL, minargs, maxargs }
+#define JIM_DEF_SUBCMD_HIDDEN(name, args, minargs, maxargs) { name, args, NULL, minargs, maxargs, JIM_MODFLAG_HIDDEN }
/**
* Looks up the appropriate subcommand in the given command table and return