Use better default output form in evaluator

This commit is contained in:
James Eversole 2025-01-01 19:40:12 -06:00
parent 18ff2d2e04
commit 76487b15f9
2 changed files with 5 additions and 5 deletions

View File

@ -75,8 +75,8 @@ tricu eval [OPTIONS]
-f --file=FILE Input file path(s) for evaluation. -f --file=FILE Input file path(s) for evaluation.
Defaults to stdin. Defaults to stdin.
-t --form=FORM Optional output form: (fsl|tree|ast|ternary|ascii). -t --form=FORM Optional output form: (tree|fsl|ast|ternary|ascii).
Defaults to fsl "Fork Stem Leaf" form. Defaults to tricu-compatible `t` tree form.
tricu decode [OPTIONS] tricu decode [OPTIONS]
Decode a Tree Calculus value into a string representation. Decode a Tree Calculus value into a string representation.

View File

@ -30,9 +30,9 @@ evaluateMode = Evaluate
{ file = def &= help "Input file path(s) for evaluation.\n \ { file = def &= help "Input file path(s) for evaluation.\n \
\ Defaults to stdin." \ Defaults to stdin."
&= name "f" &= typ "FILE" &= name "f" &= typ "FILE"
, form = FSL &= typ "FORM" , form = TreeCalculus &= typ "FORM"
&= help "Optional output form: (fsl|tree|ast|ternary|ascii).\n \ &= help "Optional output form: (tree|fsl|ast|ternary|ascii).\n \
\ Defaults to fsl \"Fork Stem Leaf\" form." \ Defaults to tricu-compatible `t` tree form."
&= name "t" &= name "t"
} }
&= help "Evaluate tricu and return the result of the final expression." &= help "Evaluate tricu and return the result of the final expression."