=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/indent/indent.1,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- src/usr.bin/indent/indent.1 2013/06/20 06:28:15 1.21 +++ src/usr.bin/indent/indent.1 2013/06/21 06:49:42 1.22 @@ -1,4 +1,4 @@ -.\" $OpenBSD: indent.1,v 1.21 2013/06/20 06:28:15 jsg Exp $ +.\" $OpenBSD: indent.1,v 1.22 2013/06/21 06:49:42 jsg Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 .\" The Regents of the University of California. @@ -32,7 +32,7 @@ .\" .\" from: @(#)indent.1 8.1 (Berkeley) 7/1/93 .\" -.Dd $Mdocdate: June 20 2013 $ +.Dd $Mdocdate: June 21 2013 $ .Dt INDENT 1 .Os .Sh NAME @@ -41,7 +41,7 @@ .Sh SYNOPSIS .Nm indent .Bk -words -.Ar input-file Op Ar output-file +.Op Ar input-file Op Ar output-file .Op Fl bad | nbad .Op Fl bap | nbap .Op Fl bbb | nbbb @@ -114,6 +114,11 @@ .Nm checks to make sure it is different from .Ar input-file . +.Pp +If no +.Ar input-file +is specified +input is read from stdin and the formatted file is written to stdout. .Pp The options listed below control the formatting style imposed by .Nm .