aboutsummaryrefslogtreecommitdiff
path: root/lib/flags.mli
diff options
context:
space:
mode:
Diffstat (limited to 'lib/flags.mli')
-rw-r--r--lib/flags.mli5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/flags.mli b/lib/flags.mli
index 94c8795d45..b96bd402d4 100644
--- a/lib/flags.mli
+++ b/lib/flags.mli
@@ -47,6 +47,11 @@ val if_verbose : ('a -> unit) -> 'a -> unit
val make_auto_intros : bool -> unit
val is_auto_intros : unit -> bool
+(** [program_cmd] indicates that the current command is a Program one.
+ [program_mode] tells that Program mode has been activated, either
+ globally via [Set Program] or locally via the Program command prefix. *)
+
+val program_cmd : bool ref
val program_mode : bool ref
val is_program_mode : unit -> bool