summaryrefslogtreecommitdiff
path: root/lib/command.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/command.h')
-rw-r--r--lib/command.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/command.h b/lib/command.h
index 56c1caceb2..523d1a2e4c 100644
--- a/lib/command.h
+++ b/lib/command.h
@@ -167,6 +167,9 @@ enum cmd_terminal_type
TERMINAL_IPV6_PREFIX,
};
+/* argument to be recorded on argv[] if it's not a literal */
+#define TERMINAL_RECORD(t) ((t) >= TERMINAL_OPTION)
+
/* Command description structure. */
struct cmd_token
{