some noneworking code for parsing arguments

Signed-off-by: Alexander Skjolden <alex@plastboks.net>