forked from GitHub/gf-core
added command ps -stringop, with stringop being (un)lexer defined in Lexing
This commit is contained in:
@@ -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 ----
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user