From 39eaab9ac2a82f5370758e8aeb8b7196f34fdabf Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Mon, 7 Jun 2010 15:42:31 +0100 Subject: Add option to turn on JSON pretty printing in monitor Expaned '-mon' arg to allow a 'pretty=on' flag. This makes the monitor pretty print its replies to easy human debugging / reading Signed-off-by: Daniel P. Berrange Signed-off-by: Luiz Capitulino --- monitor.h | 1 + 1 file changed, 1 insertion(+) (limited to 'monitor.h') diff --git a/monitor.h b/monitor.h index 38b22a4b2..f2122b588 100644 --- a/monitor.h +++ b/monitor.h @@ -14,6 +14,7 @@ extern Monitor *default_mon; #define MONITOR_IS_DEFAULT 0x01 #define MONITOR_USE_READLINE 0x02 #define MONITOR_USE_CONTROL 0x04 +#define MONITOR_USE_PRETTY 0x08 /* flags for monitor commands */ #define MONITOR_CMD_ASYNC 0x0001 -- cgit v1.2.3-65-gdbad