sccshelp 命令

用途

提供有关 SCCS 消息或命令的信息。

语法

sccshelp [ ErrorCode ] [ 命令 ]

描述

sccshelp 命令显示有关使用指定的源代码控制系统(SCCS)命令的信息,或有关使用此命令所生成的消息的信息。 每条消息都有一个关联代码,可以作为参数的一部分提供给 sccshelp 命令。 可以提供零个或多个参数。 如果不提供参数,那么 sccshelp 命令将提示需要一个参数。 可以将任意 SCCS 命令作为参数包括在 sccshelp 命令中。

ErrorCode 参数对代码进行指定,代码由数字和字母组成,出现在消息的结尾。 例如,在以下消息中,(cm7) 是代码:

There are no SCCS identification keywords in the file. (cm7)

示例

要在 rmdel 命令和两个错误代码上获取 sccshelp,请输入:

$ sccshelp rmdel gee ad3

sccshelp 命令应答:

rmdel:
rmdel -r<SID> <file> ...
ERROR: 
1255-141 gee is not a valid parameter. Specify a valid command or error code.
ad3:
The header flag you specified is not recognized.
The header flag you supplied with the -d or the -f flag is not correct.
Choose a valid header flag.

文件

描述
/usr/bin/sccshelp 包含 SCCS sccshelp 命令。