aboutsummaryrefslogtreecommitdiff
path: root/gen/dc_help.txt
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2022-06-11 09:50:28 +0000
committerStefan Eßer <se@FreeBSD.org>2022-06-11 09:50:28 +0000
commit5bdd626528a2bb3e341e283b2eb279235997b8f4 (patch)
tree76ed2ffea2671f693d61e61f456805da8c39c7b2 /gen/dc_help.txt
parented0603704174b01c25b49efc08c82e1532dc5622 (diff)
Diffstat (limited to 'gen/dc_help.txt')
-rw-r--r--gen/dc_help.txt26
1 files changed, 26 insertions, 0 deletions
diff --git a/gen/dc_help.txt b/gen/dc_help.txt
index a0f275b60b64..05a9a68fafc1 100644
--- a/gen/dc_help.txt
+++ b/gen/dc_help.txt
@@ -71,6 +71,14 @@ This dc has a few differences from the two above:
that requires a register name is taken as the register name.
Options:
+{{ A H N HN }}
+
+ -E seed --seed=seed
+
+ Sets the builtin variable seed to the given value assuming that the given
+ value is in base 10. It is a fatal error if the given value is not a valid
+ number.
+{{ end }}
-e expr --expression=expr
@@ -85,6 +93,12 @@ Options:
Print this usage message and exit.
+ -I ibase --ibase=ibase
+
+ Sets the builtin variable ibase to the given value assuming that the given
+ value is in base 10. It is a fatal error if the given value is not a valid
+ number.
+
-i --interactive
Put dc into interactive mode. See the man page for more details.
@@ -93,6 +107,12 @@ Options:
Disable line length checking.
+ -O obase --obase=obase
+
+ Sets the builtin variable obase to the given value assuming that the given
+ value is in base 10. It is a fatal error if the given value is not a valid
+ number.
+
-P --no-prompt
Disable the prompts in interactive mode.
@@ -101,6 +121,12 @@ Options:
Disable the read prompt in interactive mode.
+ -S scale --scale=scale
+
+ Sets the builtin variable scale to the given value assuming that the given
+ value is in base 10. It is a fatal error if the given value is not a valid
+ number.
+
-V --version
Print version and copyright and exit.