mirror of https://github.com/mkerrisk/man-pages
man-pages.7: Tweak preferred indent(1) command
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
e2b6e58cd8
commit
d0b8a20c47
|
@ -858,9 +858,9 @@ Example programs should be laid out according to Kernighan and
|
|||
Ritchie style, with 4-space indents.
|
||||
(Avoid the use of TAB characters in source code!)
|
||||
The following command can be used to format your source code to
|
||||
the preferred style:
|
||||
something close to the preferred style:
|
||||
|
||||
indent \-npro \-kr \-i4 \-ts4 \-sob \-l80 \-ss \-nut \-psl prog.c
|
||||
indent \-npro \-kr \-i4 \-ts4 \-sob \-l72 \-ss \-nut \-psl prog.c
|
||||
.IP *
|
||||
For consistency, all example programs should terminate using either of:
|
||||
|
||||
|
|
Loading…
Reference in New Issue