diff options
author | Gavin Howard <gavin@yzena.com> | 2021-07-21 22:29:25 -0600 |
---|---|---|
committer | Gavin Howard <gavin@yzena.com> | 2021-07-21 22:29:25 -0600 |
commit | f46f849f9285816c416ad42d4de139cbfdb107b8 (patch) | |
tree | 9c21b94ea703a704ae6a2a5f2961d96681b30d85 /gen | |
parent | a55dbe0a9f968e38ec97245cf71d935d77738798 (diff) | |
download | platform_external_bc-f46f849f9285816c416ad42d4de139cbfdb107b8.tar.gz platform_external_bc-f46f849f9285816c416ad42d4de139cbfdb107b8.tar.bz2 platform_external_bc-f46f849f9285816c416ad42d4de139cbfdb107b8.zip |
Add the redefine option to the bc help text
Signed-off-by: Gavin Howard <gavin@yzena.com>
Diffstat (limited to 'gen')
-rw-r--r-- | gen/bc_help.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gen/bc_help.txt b/gen/bc_help.txt index e376ad6a..50c38ab6 100644 --- a/gen/bc_help.txt +++ b/gen/bc_help.txt @@ -108,6 +108,17 @@ Options: Disable the read prompt in interactive mode. + -r keyword --redefine=keyword + + Redefines "keyword" and allows it to be used as a function, variable, and + array name. This is useful when this bc gives parse errors on scripts + meant for other bc implementations. + + Only keywords that are not in the POSIX bc spec may be redefined. + + It is a fatal error to attempt to redefine a keyword that cannot be + redefined or does not exist. + -q --quiet Don't print version and copyright. |