basic flag parsing (only long args, string/bool)