From: Michael Meffie Date: Wed, 21 May 2014 21:27:47 +0000 (-0400) Subject: doc: document the version subcommand X-Git-Tag: upstream/1.8.0_pre1^2~212 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=ed52ea68c661a7428baeddeca2d95972fe3fe618;p=packages%2Fo%2Fopenafs.git doc: document the version subcommand Document the built-in version sub-command which displays the OpenAFS version string. This sub-command is provided by the cmd library. Document the switch style -version option provided by the cmd library for the initcmd based commands: afsmonitor, scout, xstat_fs_test, and xstat_cm_test. Change-Id: Id421d2c68a5c49a2b1a5abb2f3e9ca64ea36cd3e Reviewed-on: http://gerrit.openafs.org/11161 Reviewed-by: Benjamin Kaduk Tested-by: BuildBot --- diff --git a/doc/man-pages/pod1/afsmonitor.pod b/doc/man-pages/pod1/afsmonitor.pod index 127f217cb..67bcc379f 100644 --- a/doc/man-pages/pod1/afsmonitor.pod +++ b/doc/man-pages/pod1/afsmonitor.pod @@ -13,7 +13,7 @@ B [B] [-config >] S<<< [B<-debug> >] >>> S<<< [B<-fshosts> >+] >>> S<<< [B<-cmhosts> >+] >>> - S<<< [B<-buffers> >] >>> [B<-help>] + S<<< [B<-buffers> >] >>> [B<-version>] [B<-help>] B [B] [-co >] S<<< [B<-fr> >] >>> @@ -21,7 +21,7 @@ B [B] [-co >] S<<< [B<-deb> >] >>> S<<< [B<-fs> >+] >>> S<<< [B<-cm> >+] >>> - S<<< [B<-b> >] >>> [B<-h>] + S<<< [B<-b> >] >>> [B<-version>] [B<-h>] =for html @@ -173,6 +173,11 @@ file. Prints the online help for this command. All other valid options are ignored. +=item B<-version> + +Prints the program version and then exits. All other valid options +are ignored. + =back =head1 OUTPUT diff --git a/doc/man-pages/pod1/fs.pod b/doc/man-pages/pod1/fs.pod index e9887beac..695277b43 100644 --- a/doc/man-pages/pod1/fs.pod +++ b/doc/man-pages/pod1/fs.pod @@ -101,6 +101,10 @@ Commands to obtain help: L|fs_apropos(1)> and L|fs_help(1)>. +=item * + +A command to display the OpenAFS command suite version: B. + =back The Cache Manager and the fs commands use and maintain the following diff --git a/doc/man-pages/pod1/pts.pod b/doc/man-pages/pod1/pts.pod index f3417bac1..d3a890b05 100644 --- a/doc/man-pages/pod1/pts.pod +++ b/doc/man-pages/pod1/pts.pod @@ -79,6 +79,10 @@ Commands to obtain help: L|pts_apropos(1)> and L|pts_help(1)>. +=item * + +A command to display the OpenAFS command suite version: B. + =back =head1 OPTIONS diff --git a/doc/man-pages/pod1/scout.pod b/doc/man-pages/pod1/scout.pod index 3a63b1a95..6704ba4ac 100644 --- a/doc/man-pages/pod1/scout.pod +++ b/doc/man-pages/pod1/scout.pod @@ -13,13 +13,13 @@ B [B] S<<< B<-server> >+ >>> S<<< [B<-attention> >+] >>> S<<< [B<-columnwidths> >+] >>> S<<< [B<-debug> >] >>> - [B<-help>] + [B<-version>] [B<-help>] B [B] S<<< B<-s> >+ >>> S<<< [B<-b> >] >>> S<<< [B<-f> >] >>> [B<-ho>] S<<< [B<-a> >+] >>> S<<< [B<-c> +>] >>> - S<<< [B<-d> >] >>> [B<-he>] + S<<< [B<-d> >] >>> [B<-version>] [B<-he>] =for html @@ -176,6 +176,11 @@ directory. Prints the online help for this command. All other valid options are ignored. +=item B<-version> + +Prints the program version and then exits. All other valid options +are ignored. + =back =head1 OUTPUT diff --git a/doc/man-pages/pod1/xstat_cm_test.pod b/doc/man-pages/pod1/xstat_cm_test.pod index 06d67af24..aaf886cb4 100644 --- a/doc/man-pages/pod1/xstat_cm_test.pod +++ b/doc/man-pages/pod1/xstat_cm_test.pod @@ -12,12 +12,12 @@ B [I] S<<< B<-collID> >+ >>> [B<-onceonly>] S<<< [B<-frequency> >] >>> S<<< [B<-period> >] >>> [B<-debug>] - [B<-help>] + [B<-version>] [B<-help>] B [I] S<<< B<-cm> >+ >>> S<<< B<-co> >+ >>> [B<-o>] S<<< [B<-f> >] >>> - S<<< [B<-p> >] >>> [B<-d>] [B<-h>] + S<<< [B<-p> >] >>> [B<-d>] [B<-version>] [B<-h>] =for html @@ -102,6 +102,11 @@ Displays a trace on the standard output stream as the command runs. Prints the online help for this command. All other valid options are ignored. +=item B<-version> + +Prints the program version and then exits. All other valid options +are ignored. + =back =head1 SEE ALSO diff --git a/doc/man-pages/pod1/xstat_fs_test.pod b/doc/man-pages/pod1/xstat_fs_test.pod index 7c2257d60..b405cb7b1 100644 --- a/doc/man-pages/pod1/xstat_fs_test.pod +++ b/doc/man-pages/pod1/xstat_fs_test.pod @@ -10,12 +10,12 @@ xstat_fs_test - Displays data collections from the File Server process B [I] S<<< B<-fsname> >+ >>> S<<< B<-collID> >+ >>> [B<-onceonly>] S<<< [B<-frequency> >] >>> - S<<< [B<-period> >] >>> [B<-debug>] [B<-help>] + S<<< [B<-period> >] >>> [B<-debug>] [B<-version>] [B<-help>] B [B] S<<< B<-fs> >+ >>> S<<< B<-c> >+ >>> [B<-o>] S<<< [B<-fr> >] >>> - S<<< [B<-p> >] >>> [B<-d>] [B<-h>] + S<<< [B<-p> >] >>> [B<-d>] [B<-version>] [B<-h>] =for html @@ -105,6 +105,11 @@ Displays a trace on the standard output stream as the command runs. Prints the online help for this command. All other valid options are ignored. +=item B<-version> + +Prints the program version and then exits. All other valid options +are ignored. + =back =head1 SEE ALSO diff --git a/doc/man-pages/pod5/afsmonitor.pod b/doc/man-pages/pod5/afsmonitor.pod index fff626352..f5e0a6073 100644 --- a/doc/man-pages/pod5/afsmonitor.pod +++ b/doc/man-pages/pod5/afsmonitor.pod @@ -97,6 +97,10 @@ Precedes a line of text that the afsmonitor program ignores because of the initial number (C<#>) sign, which must appear in the very first column of the line. +=item B + +Print the OpenAFS command suite version and then exit. + =back For a list of the values that can appear in the I diff --git a/doc/man-pages/pod8/backup.pod b/doc/man-pages/pod8/backup.pod index 139ff2386..f8e2ebcc3 100644 --- a/doc/man-pages/pod8/backup.pod +++ b/doc/man-pages/pod8/backup.pod @@ -72,6 +72,10 @@ Commands to obtain help: L|backup_apropos(8)> and L|backup_help(8)>. +=item * + +A command to display the OpenAFS command suite version: B. + =back The backup command interpreter interacts with two other processes: diff --git a/doc/man-pages/pod8/bos.pod b/doc/man-pages/pod8/bos.pod index 7cb3284c5..70f912667 100644 --- a/doc/man-pages/pod8/bos.pod +++ b/doc/man-pages/pod8/bos.pod @@ -47,6 +47,10 @@ A command to restore file system consistency: B. Commands to obtain help: B and B. +=item * + +A command to display the OpenAFS command suite version: B. + =back The BOS Server and the B commands use and maintain the following diff --git a/doc/man-pages/pod8/kas.pod b/doc/man-pages/pod8/kas.pod index 43eb1d0c7..afeb12dbf 100644 --- a/doc/man-pages/pod8/kas.pod +++ b/doc/man-pages/pod8/kas.pod @@ -53,6 +53,10 @@ Commands to obtain help: L|kas_apropos(8)> and L|kas_help(8)>. +=item * + +A command to display the OpenAFS command suite version: B. + =back Because of the sensitivity of information in the Authentication Database,