From d9d2925fa024c2eceeea18c9b3afda30af96301e Mon Sep 17 00:00:00 2001 From: aiju Date: Sun, 28 Aug 2016 13:49:26 +0200 Subject: [PATCH] pc(1): document -n option in manpage --- sys/man/1/pc | 5 +++++ 1 file changed, 5 insertions(+) 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)