Ported howto-parse-args