From 64c88753aee1bbfeee00f9eeb5c561b839873f8d Mon Sep 17 00:00:00 2001 From: midipix Date: Tue, 5 Jul 2016 20:48:04 -0400 Subject: driver: added --debug support. --- src/skin/ptyc_skin_default.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/skin') diff --git a/src/skin/ptyc_skin_default.c b/src/skin/ptyc_skin_default.c index 85ce12e..9d710a6 100644 --- a/src/skin/ptyc_skin_default.c +++ b/src/skin/ptyc_skin_default.c @@ -8,5 +8,12 @@ const struct argv_option ptyc_default_options[] = { {"help", 'h',TAG_HELP,ARGV_OPTARG_OPTIONAL,0,"short|long",0, "show usage information [listing %s options only]"}, + {"debug", 'd',TAG_DEBUG,ARGV_OPTARG_OPTIONAL,0, + "event|oven|raw",0, + "start an internal thread for debugging purposes. " + "event: display trace information for low-level console " + "events; oven|raw: start a pseudo client using a pty handle " + "in [cooked|raw] mode. default is 'event'."}, + {0,0,0,0,0,0,0,0} }; -- cgit v1.2.3