*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolaris.org/os/licensing.
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*
* Copyright 1991 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*
* This file contains modifications Copyright 2006-2011 J. Schilling
*
* @(#)cmds	1.10 11/05/20 J. Schilling 
*
* @(#)cmds 1.3 06/12/12
*
*#ident	"@(#)sccs:help.d/cmds"
*	Synopsis of SCCS commands
*
-delta
	  delta [-r<SID>] [-s] [-n] [-o] [-g<list>] [-m<mrlist>] [-y<comment>]
		[-p] file ...
-get
	get [-r<SID>] [-c<cutoff>] [-i<list>] [-x<list>] [-a<seq no.>]
	    [-k] [-e] [-l<p>] [-p] [-m] [-n] [-o] [-s] [-b] [-g] [-t] file ...

	(do 'help get_kywds' for description of recognized ID keywords)

-get_kywds

	List of ID Keywords Recognized by the _g_e_t Command

  ID          Value
Keyword       Type

 %A%          Shorthand notation for an ID line with %Z%%Y%  %M%  %I%%Z%
 %B%          SID branch component
 %C%          Current line number
 %D%          Current date: yy/mm/dd
 %d%          Current date: yyyy/mm/dd
 %E%          Date newest applied delta was created: yy/mm/dd
 %e%          Date newest applied delta was created: yyyy/mm/dd
 %F%          SCCS s.file name
 %G%          Date newest applied delta was created: mm/dd/yy
 %g%          Date newest applied delta was created: mm/dd/yyyy
 %H%          Current date: mm/dd/yy
 %h%          Current date: mm/dd/yyyy
 %I%          SID of the retrieved version: %R%.%L%.%B%.%S%
 %L%          SID level component
 %M%          Module name: value of the m flag or name of the s.file w/o prefix
 %P%          Fully qualified s.file name
 %Q%          Value of the q flag in the s.file
 %R%          SID Release component
 %S%          SID Sequence component
 %T%          Current time: hh:mm:ss
 %U%          Time newest applied delta was created: hh:mm:ss
 %W%          Shorthand notation for an ID line with %Z%%M%  %I%
 %Y%          Module type: value of the t flag in the s.file
 %Z%          4-character string: `@(#)'

 %sccs.include.filename%	Lines are replaced by the content from filename

-admin
     admin [-n] [-i<name>] [-r<rel>] [-t<name>] [-f<add-flag<flag-val>>] ...
           [-d<del-flag>] ... [-a<add-login>] ... [-e<erase-login>] ...
           [-m<mrlist>] [-y<comment>] [-h] [-o] [-z] file ...
-help
	help [arg]

(When all else fails execute "help stuck".)
-what
	what file ...
-comb
	comb [-o] [-s] [-p<SID>] [-c<list>] file ...
-bdiff
	bdiff file1 file2 [numarg] [-s]
-cdc
	cdc -rSID [-m<mrlist>] [-y<comment>] file ...
-rmdel
	rmdel -rSID file ...
-log
	log [-a] file...
-sccsdiff
	sccsdiff old-spec new-spec [pr-args] sccsfile ...
-stuck

The SCCS help facility provides limited
information about SCCS commands and
error messages, respectively.  Most
SCCS error messages provide a code (in
parentheses) that you can use as an
argument to help.

    help [ <msg-code>|<sccs-command> ]

More information about sccs commands
can be found in the ``SunOS Reference
Manual,'' or by using the "man" command.
Man pages for SCCS commands have an
"sccs-" prefix.  To do a man on the
SCCS help command, type:

    man sccs-help

If the message includes a system error
number, refer to Intro(2), for
information about the error that
occurred.  In some cases, SCCS will
fail when attempting to write on a file
system that has been mounted
read-only.

-val
	val -
	val [-T] [-s] [-r<SID>] [-m<name>] [-y<type>] file ...
-vc
	vc [-a] [-t] [-c<char>] [-s] [keyword=value ... keyword=value]
-prs
	prs [-d<dataspec>] [-r<SID>] [-e] [-l] [-a] file ...

	(do 'help prs_kywds' for description of recognized data keywords)

-prs_kywds

	List of Data Keywords Recognized by the _p_r_s Command

 Data                             SCCS File          Value         Format
Keyword       Data Item            Section           Type           Type

 :Dt:   Whole delta line         Delta Table  all delta line info    S
 :DL:   Delta line stats              "         :Li:/:Ld:/:Lu:       S
 :Li:   Lines ins by delta            "              nnnnn           S
 :Ld:   Lines del by delta            "              nnnnn           S
 :Lu:   Lines unc by delta            "              nnnnn           S
 :DT:   Delta type                    "              D or R          S
  :I:   SID                           "         :R:.:L:.:B:.:S:      S
  :R:   Release number                "              nnnn            S
  :L:   Level number                  "              nnnn            S
  :B:   Branch number                 "              nnnn            S
  :S:   Sequence number               "              nnnn            S
  :D:   Date delta created            "         :Dy:/:Dm:/:Dd:       S
  :d:   Date delta created            "         :DY:/:Dm:/:Dd:       S
 :Dy:   Year delta created            "               nn             S
 :DY:   Year delta created            "              nnnn            S
 :Dm:   Month delta created           "               nn             S
 :Dd:   Day delta created             "               nn             S
  :T:   Time delta created            "          :Th::Tm::Ts:        S
 :Th:   Hour delta created            "               nn             S
 :Tm:   Minutes delta created         "               nn             S
 :Ts:   Seconds delta created         "               nn             S
  :P:   Pgmr who created delta        "             logname          S
 :DS:   Delta seq number              "              nnnn            S
 :DP:   Pred delta seq number         "              nnnn            S
 :DI:   Deltas inc,exc,ignored        "         :Dn:/:Dx:/:Dg:       S
 :Dn:   Deltas included               "          :DS: :DS: ...       S
 :Dx:   Deltas excluded               "          :DS: :DS: ...       S
 :Dg:   Deltas ignored                "          :DS: :DS: ...       S
 :MR:   MR numbers                    "              text            M
  :C:   Comments                      "              text            M
 :UN:   User names               User Names          text            M
 :FL:   Flag List                   Flags    desc of all flags set   M
  :Y:   Type flag                     "           module type        S
 :MF:   MR valid flag                 "            yes or no         S
 :MP:   MR valid pgm.                 "              text            S
 :KF:   Kywd err/warn flag            "            yes or no         S
 :BF:   Branch flag                   "            yes or no         S
  :J:   Joint edit flag               "            yes or no         S
 :LK:   Locked releases               "             :R: ...          S
  :Q:   User defined keyword          "              text            S
  :M:   Module name flag              "           module name        S
 :FB:   Floor boundary                "               :R:            S
 :CB:   Ceiling boundary              "               :R:            S
 :Ds:   Default SID                   "               :I:            S
 :ND:   Null delta flag               "            yes or no         S
 :FD:   Descriptive text          Comments           text            M
 :BD:   Body                        Body             text            M
 :GB:   Gotten body                   "              text            M
  :W:   form of _w_h_a_t(I) str          N/A          :Z::M:\t:I:        S
  :A:   form of _w_h_a_t(I) str          N/A       :Z::Y: :M: :I::Z:     S
  :Z:   _w_h_a_t(I) str construct        N/A             @(#)            S
  :F:   File name                    N/A           file name         S
 :PN:   Pathname                     N/A           pathname          S

-sccs
	  sccs [-R] [-T] [-r] [-d<rootprefix>] [-p<subdir>]
		subcommand [option ...] [filename ...]

	(do 'help sccs_subcmds' for description of sccs subcommands)

-sccs_subcmds
	sccs admin	create or administer SCCS history files
	sccs cdc	change the delta commentary of an SCCS delta
	sccs comb	combine SCCS deltas
	sccs delta	make a delta to an SCCS file
	sccs get	retrieve a version of an SCCS file
	sccs help	ask for help regarding SCCS error or warning messages
	scca log	create a changelog using SCCS delta comments
	sccs prs	display selected portions of an SCCS history
	sccs prt	display delta table information from an SCCS file
	sccs rmdel	remove a delta from an SCCS file
	sccs sact	editing activity status of an SCCS file
	sccs val	validate an SCCS file
	sccs what	extract SCCS version information from a file
	sccs sccsdiffs	compare two versions of an SCCS file
	sccs edit	get files for editing
	sccs delget	do a delta followed by a get
	sccs deledit	do a delta followed by an edit
	sccs fix	remove a delta and reedit it
	sccs clean	remove files that can be regenerated from the s-file
	sccs info	give a list of all files being edited
	sccs check	same as "info" but no putput if nohhing is edited
	sccs tell	same as "info" but only file names are printed
	sccs unedit	remove an edited file without merging into s-file
	sccs unget	undo a previous get of an SCCS file
	sccs diffs	compare edited file with a version of an SCCS file
	sccs ldiffs	compare edited file using local diff program from OS
	sccs print	print the history and copmlete content of an SCCS file
	sccs branch	create a branch on an SCCS file
	sccs enter	create a new SCCS file from file content
	sccs create	same as "enter" but followed by "get"
