forked from GitHub/gf-core
tree visualization command
This commit is contained in:
@@ -54,6 +54,9 @@ valOpts flag def opts = case lookup flag flags of
|
||||
isOpt :: String -> [Option] -> Bool
|
||||
isOpt o opts = elem o [x | OOpt x <- opts]
|
||||
|
||||
isFlag :: String -> [Option] -> Bool
|
||||
isFlag o opts = elem o [x | OFlag x _ <- opts]
|
||||
|
||||
prOpt :: Option -> String
|
||||
prOpt (OOpt i) = i ----
|
||||
|
||||
|
||||
Reference in New Issue
Block a user