struct arg_def {
const char *name;
uint type;
+ const char *help;
};
class arg_val {
const arg_def *arg_defs;
bool has_pipeline;
cmd_exec *(*constructor)(cmd *cmd);
+ const char *help;
};
struct cmd {
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);