summaryrefslogtreecommitdiff
path: root/src-3.0/GF/Command/Abstract.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src-3.0/GF/Command/Abstract.hs')
-rw-r--r--src-3.0/GF/Command/Abstract.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src-3.0/GF/Command/Abstract.hs b/src-3.0/GF/Command/Abstract.hs
index 1f72688a0..31858a1f9 100644
--- a/src-3.0/GF/Command/Abstract.hs
+++ b/src-3.0/GF/Command/Abstract.hs
@@ -46,3 +46,8 @@ valOpts flag def opts = case lookup flag flags of
isOpt :: String -> [Option] -> Bool
isOpt o opts = elem o [x | OOpt x <- opts]
+
+prOpt :: Option -> String
+prOpt (OOpt i) = i ----
+
+