]> mj.ucw.cz Git - paperjam.git/blobdiff - jam.h
Allow bare identifiers as values of string arguments
[paperjam.git] / jam.h
diff --git a/jam.h b/jam.h
index b70041b4e2e9a11cab68108532c9aba5cbf1b609..5ee7620d050cd28163062943431bc127b3bda4ad 100644 (file)
--- a/jam.h
+++ b/jam.h
@@ -48,6 +48,7 @@ enum arg_type {
 struct arg_def {
   const char *name;
   uint type;
+  const char *help;
 };
 
 class arg_val {
@@ -102,6 +103,7 @@ struct cmd_def {
   const arg_def *arg_defs;
   bool has_pipeline;
   cmd_exec *(*constructor)(cmd *cmd);
+  const char *help;
 };
 
 struct cmd {
@@ -139,7 +141,7 @@ struct pipeline {
 
 extern const char *in_name, *out_name;
 extern bool recalc_bbox;
-extern int debug_mode;
+extern int debug_level;
 extern int debug_indent;
 
 void debug(const char *msg, ...) FORMAT_CHECK(printf, 1, 2);