aboutsummaryrefslogtreecommitdiff
path: root/param.ccl
diff options
context:
space:
mode:
Diffstat (limited to 'param.ccl')
-rw-r--r--param.ccl7
1 files changed, 3 insertions, 4 deletions
diff --git a/param.ccl b/param.ccl
index 6fde64c..14270c5 100644
--- a/param.ccl
+++ b/param.ccl
@@ -58,11 +58,10 @@ KEYWORD out_style "Which style for 1D ASCII output"
"xgraph" :: "output readable by xgraph"
} "xgraph"
-KEYWORD out_format "Which format for ASCII output" STEERABLE = ALWAYS
+STRING out_format "Which format for ASCII output" STEERABLE = ALWAYS
{
- "e" :: "output in exponential notation"
- "f" :: "output in floating point notation"
-} "f"
+ "^(\.[0-9]{1,2})?[ef]$" :: "output with given precision in exponential / floating point notation"
+} ".13f"
############################
# Specific to 1D output