summaryrefslogtreecommitdiff
path: root/docs/cli-usage.md
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-24 12:43:10 +0300
committerPaul Buetow <paul@buetow.org>2026-05-24 12:43:10 +0300
commit4935b8adab236e76220d2f2e06cf72857af834fa (patch)
tree0213aa1338ffa2f82f0322efc035ee985f269b55 /docs/cli-usage.md
parent2bdc6bb6bddb107c46ead301c0953050ed7acea3 (diff)
rpn: fix double-prefix in logOp error message
buildError(opName, ...) prepends opName to the error, so the inner error should not repeat it. Changed from: buildError(opName, fmt.Errorf("%s undefined...", opName)) to: buildError(opName, errors.New("undefined...")) Produces "lg: undefined for non-positive numbers" instead of "lg: lg undefined for non-positive numbers".
Diffstat (limited to 'docs/cli-usage.md')
0 files changed, 0 insertions, 0 deletions