summaryrefslogtreecommitdiff
path: root/sys/man/1
diff options
context:
space:
mode:
authoraiju <devnull@localhost>2016-08-28 13:49:26 +0200
committeraiju <devnull@localhost>2016-08-28 13:49:26 +0200
commitd9d2925fa024c2eceeea18c9b3afda30af96301e (patch)
treebc1e4f4bb85b22d33abdb844f7b622003fcb27dc /sys/man/1
parenta931ad737a1ad2598850014e7297f2d0edfd9dc1 (diff)
pc(1): document -n option in manpage
Diffstat (limited to 'sys/man/1')
-rw-r--r--sys/man/1/pc5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/man/1/pc b/sys/man/1/pc
index 38b0314eb..f6dfee325 100644
--- a/sys/man/1/pc
+++ b/sys/man/1/pc
@@ -16,6 +16,11 @@ Multiple statements in one line can be separated by semicolons.
.I Pc
prints the value of all expressions that are not terminated by a semicolon.
.PP
+.I Pc
+can be run non-interactively by using the
+.B -n
+switch. In this case no input prompt is printed.
+.PP
Expressions can use the C-like operators
.TP
.B + - * ** \fR(exponentiation\fR)