From f7af80a0ad7807e35f426a2377d7312b415c9d68 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sat, 5 May 2018 19:31:22 -0700 Subject: Fix up documentation of NAS command line flags Signed-off-by: Alan Coopersmith --- man/xscope.man | 21 +++++++++++---------- scope.c | 6 +++--- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/man/xscope.man b/man/xscope.man index a7ff06c..6163f60 100644 --- a/man/xscope.man +++ b/man/xscope.man @@ -12,11 +12,11 @@ xscope - X Window Protocol Viewer [\fB-S\fP\fI\fP] [\fB-T\fP] [\fB-A\fP] -[\fB-r\fP] [\fB-a\fP\fI\fP] -[\fB-n\fP\fI\fP] +[\fB-n\fP\fI\fP] [\fB-D\fP\fI\fP] [\fB-q\fP] +[\fB-r\fP] [\fB-v\fP\fI\fP] [\fB-V\fP] [\fB-t\fP] @@ -90,19 +90,16 @@ Transpose some output with an offset of 0x20. .PP .TP 10 .BI -A -Enables audio. -.PP -.TP 10 -.B -r -Print only raw data without decoding it. +Enables tracing of the Network Audio System (NAS) protocol as well, using +a port number derived by adding 2000 to the X11 port number. .PP .TP 10 .BI -a -Audio verbose output level. +NAS verbose output level (1 to 4, 1 by default). .PP .TP 10 -.BI -n -Nas verbose output level (1 to 4, 1 by default). +.BI -n +Set the hostname of the NAS server to connect to. .PP .TP 10 .BI -D @@ -126,6 +123,10 @@ Quiet output mode. Gives only the names of requests, replies, errors, and events, but does not indicate contents. .PP .TP 10 +.B -r +Print only raw data without decoding it. +.PP +.TP 10 .BI \-v Determines the level of printing which \fIxscope\fP will provide. The level can be 0 (same as quiet mode), 1 (default), 2, 3, 4, 5. The larger diff --git a/scope.c b/scope.c index f87e2dc..38ef83c 100644 --- a/scope.c +++ b/scope.c @@ -668,12 +668,12 @@ Usage(void) " -I Start in interactive mode\n" " -S Start/stop on SIGUSR1 (0/1)\n" " -T Transposes some output with an offset of 0x20\n" - " -A Enables audio\n" - " -r Raw output\n" + " -A Enables Network Audio System (NAS) support\n" " -a Audio verbose output\n" - " -n Nas verbose output\n" + " -n NAS server to connect to\n" " -D Debug level (default = 255)\n" " -q Quiet output\n" + " -r Raw output\n" " -v Verbose output (0 to 5, 0=quiet)\n" " -V Output version information and exit\n" " -t Terminate when all clients close\n"); -- cgit v1.2.3