src/cpython/getopt

Procs

proc getopt(args: seq[string]; shortopts: string; longopts: seq[string]): tuple[
    option: seq[tuple[key, value: string]], value: seq[string]] {.
    ...raises: [Exception, ValueError, OSError, IOError, EOFError, KeyError],
    tags: [RootEffect].}
proc getopt(args: seq[string]; shortopts: string): tuple[
    option: seq[tuple[key, value: string]], value: seq[string]] {.
    ...raises: [Exception, ValueError, OSError, IOError, EOFError, KeyError],
    tags: [RootEffect].}
proc gnu_getopt(args: seq[string]; shortopts: string; longopts: seq[string]): tuple[
    option: seq[tuple[key, value: string]], value: seq[string]] {.
    ...raises: [Exception, ValueError, OSError, IOError, EOFError, KeyError],
    tags: [RootEffect].}
proc gnu_getopt(args: seq[string]; shortopts: string): tuple[
    option: seq[tuple[key, value: string]], value: seq[string]] {.
    ...raises: [Exception, ValueError, OSError, IOError, EOFError, KeyError],
    tags: [RootEffect].}