Greatly simplified argument parsing API

Signed-off-by: Frank Mertens <frank@cyblogic.de>