graphite: add argument parsing.