• Anton Khirnov's avatar
    cmdutils: add a commandline pre-parser. · 8c9af5b2
    Anton Khirnov authored
    It splits the commandline into a more convenient internal representation
    for further parsing.
    
    This will allow e.g.
    - processing global options first independently of their location on the
      commandline, eliminating ugly hacks for processing e.g. cpuflags
      first
    - better options validation and error reporting. It is now possible for
      the parser to know that it's applying an input option to an output
      file or vice versa and act accordingly.
    8c9af5b2