Programming Search⌘K

Command-line programs

How to design and build a program that runs from a shell.

Tasks

  • Parse command-line arguments

    Turn the argument list of a program into options and file operands, with short and long options, a default value, the -- terminator and a usage error for bad input.

    10 languagescore