mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
Fix typos in <customtypecommand> --man self-documentation
src/cmd/ksh93/bltins/enum.c: - enum_type[]: Fix typos; minor edit for style. - enum_type[], enuminfo(): Make the list of supported values comma-separated, instead of using a comma at the start of each. src/cmd/ksh93/sh/nvtype.c: - sh_opttype[]: Fix typos.
This commit is contained in:
parent
76ea18dcbd
commit
2996d7ae7c
2 changed files with 12 additions and 14 deletions
|
|
@ -37,16 +37,16 @@ static const char sh_opttype[] =
|
|||
"is converted to \b\f?\f\b.]"
|
||||
"[+?If no \aname\as are specified then the names and values of all "
|
||||
"variables of this type are written to standard output.]"
|
||||
"[+?\b\f?\f\b is built-in to the shell as a declaration command so that "
|
||||
"[+?\b\f?\f\b is built in to the shell as a declaration command so that "
|
||||
"field splitting and pathname expansion are not performed on "
|
||||
"the arguments. Tilde expansion occurs on \avalue\a.]"
|
||||
"[r?Enables readonly. Once enabled, the value cannot be changed or unset.]"
|
||||
"[a]:?[type?Indexed array. Each \aname\a will converted to an index "
|
||||
"[a]:?[type?Indexed array. Each \aname\a will converted to an indexed "
|
||||
"array of type \b\f?\f\b. If a variable already exists, the current "
|
||||
"value will become index \b0\b. If \b[\b\atype\a\b]]\b is "
|
||||
"specified, each subscript is interpreted as a value of enumeration "
|
||||
"type \atype\a.]"
|
||||
"[A?Associative array. Each \aname\a will converted to an associate "
|
||||
"[A?Associative array. Each \aname\a will converted to an associative "
|
||||
"array of type \b\f?\f\b. If a variable already exists, the current "
|
||||
"value will become subscript \b0\b.]"
|
||||
"[h]:[string?Used within a type definition to provide a help string "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue