hoogle

Safe HaskellSafe-Infered

CmdLine.All

Description

Parse a query, that may have come from either a CGI variable or the command line arguments.

Need to return the following pieces of information:

  • Was there a query, or was nothing entered
  • Are you wanting to operate in Web mode or Command Line mode. Adding a Web parameter to Command Line gives you Web mode.
  • Which flags were specified, and which were erroneous.

Documentation