summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2018-05-05 19:31:22 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2018-05-05 19:31:22 -0700
commitf7af80a0ad7807e35f426a2377d7312b415c9d68 (patch)
treebce523cee662d650017cc0ee3f82c27cc67d6d69
parent51c3ab198e6fa440961d02f6af13b1d73d698101 (diff)
Fix up documentation of NAS command line flags
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--man/xscope.man21
-rw-r--r--scope.c6
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<n>\fP]
[\fB-T\fP]
[\fB-A\fP]
-[\fB-r\fP]
[\fB-a\fP\fI<level>\fP]
-[\fB-n\fP\fI<level>\fP]
+[\fB-n\fP\fI<server-host>\fP]
[\fB-D\fP\fI<level>\fP]
[\fB-q\fP]
+[\fB-r\fP]
[\fB-v\fP\fI<level>\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 <level>
-Audio verbose output level.
+NAS verbose output level (1 to 4, 1 by default).
.PP
.TP 10
-.BI -n <level>
-Nas verbose output level (1 to 4, 1 by default).
+.BI -n <server-host>
+Set the hostname of the NAS server to connect to.
.PP
.TP 10
.BI -D <level>
@@ -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 <level>
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<n> 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<level> Audio verbose output\n"
- " -n<level> Nas verbose output\n"
+ " -n<server-host> NAS server to connect to\n"
" -D<level> Debug level (default = 255)\n"
" -q Quiet output\n"
+ " -r Raw output\n"
" -v<level> Verbose output (0 to 5, 0=quiet)\n"
" -V Output version information and exit\n"
" -t Terminate when all clients close\n");