Qalculate / libqalculate

Qalculate! library and CLI
https://qalculate.github.io/
GNU General Public License v2.0
1.88k stars 151 forks source link

default setting different from qalc man page #619

Closed howaboutuser closed 9 months ago

howaboutuser commented 9 months ago

qalc man page: https://qalculate.github.io/manual/qalc.html

qalc --defaults mode

... minus last (minlast) on (off in man page) ... repeating decimals (repdeci) off (missing in man page) ... parsing mode (parse) adaptive (syntax in man page) ... simplified percentage (percent) on (missing in man page) ... sigint action (sigint) exit (kill in man page)

BTW, man page can be improved by adding some description or example.

hanna-kn commented 9 months ago

Fixed.

howaboutuser commented 9 months ago

mode

parsing mode (parse) adaptive

help set parse

parsing mode (syntax) See 'help parsing mode'. (0* = adaptive, 1 = implicit first, 2 = conventional, 3 = chain, 4 = rpn)

Will you reserve both "parse" and "syntax"?

hanna-kn commented 9 months ago

Both "parse" and "syntax" will be supported, but the mode and help commands, and the man page should of course show the same short option name (probably "syntax", which was introduced in version 3.16).