first compiling, mostly working version of group controls changes
[ardour.git] / gtk2_ardour / opts.cc
index 9e5cbc6f3f06a62a12d2260167446beba0f6496d..4e03983f853fa9a33d6d9d49181c8c4b76d4b95f 100644 (file)
 #include "ardour/debug.h"
 #include "ardour/session.h"
 
+#ifndef NDEBUG // "-H"
+#include "processor_box.h"
+#endif
+
 #include "opts.h"
 
 #include "i18n.h"
@@ -84,7 +88,7 @@ print_help (const char *execname)
 int
 ARDOUR_COMMAND_LINE::parse_opts (int argc, char *argv[])
 {
-       const char *optstring = "abBc:C:dD:hk:E:m:N:nOp:PST:U:vV";
+       const char *optstring = "abBc:C:dD:hHk:E:m:N:nOp:PST:U:vV";
        const char *execname = strrchr (argv[0], '/');
 
        if (getenv ("ARDOUR_SAE")) {
@@ -143,6 +147,11 @@ ARDOUR_COMMAND_LINE::parse_opts (int argc, char *argv[])
                        print_help (execname);
                        exit (0);
                        break;
+               case 'H':
+#ifndef NDEBUG
+                       ProcessorBox::show_all_processors = true;
+#endif
+                       break;
                case 'a':
                        check_announcements = false;
                        break;