mainOptions :: [OptDescr FlagMod]
mainOptions =
  [ Option "E" ["preprocess"]
     (NoArg $ \o -> o { optOnlyParse = True })
     "Write preprocessor output and stop."
--  , Option "s" ["simple"]
--     (NoArg $ \o -> o { optSimpleMode = True })
--     "Analyze all functions in a single file."
  , Option "o" ["output"]
     (ReqArg (\s o -> o { optOutputFile = s }) "FILE")
     "Output file."
  , Option "b" ["src"]
     (ReqArg (\s o -> o { optBaseDir = s }) "DIR")
     "Location of piksi_firmware source."
  ]
mainOptions :: [OptDescr FlagMod]
mainOptions =
  [ Option "E" ["preprocess"]
     (NoArg $ \o -> o { optOnlyParse = True })
     "Write preprocessor output and stop."
--  , Option "s" ["simple"]
--     (NoArg $ \o -> o { optSimpleMode = True })
--     "Analyze all functions in a single file."
  , Option "o" ["output"]
     (ReqArg (\s o -> o { optOutputFile = s }) "FILE")
     "Output file."
  , Option "b" ["src"]
     (ReqArg (\s o -> o { optBaseDir = s }) "DIR")
     "Location of piksi_firmware source."
  ]
mainOptions =
  [ Option "E" ["preprocess"]
     (NoArg $ \o -> o { optOnlyParse = True })
     "Write preprocessor output and stop."
--  , Option "s" ["simple"]
--     (NoArg $ \o -> o { optSimpleMode = True })
--     "Analyze all functions in a single file."
  , Option "o" ["output"]
     (ReqArg (\s o -> o { optOutputFile = s }) "FILE")
     "Output file."
  , Option "b" ["src"]
     (ReqArg (\s o -> o { optBaseDir = s }) "DIR")
     "Location of piksi_firmware source."
  ]