-/* $OpenBSD: arguments.c,v 1.51 2021/09/09 21:55:03 nicm Exp $ */
+/* $OpenBSD: arguments.c,v 1.52 2021/11/02 10:57:04 nicm Exp $ */
/*
* Copyright (c) 2010 Nicholas Marriott <nicholas.marriott@gmail.com>
case ARGS_STRING:
return (value->string);
}
+ fatalx("unexpected argument type");
}
/* Create an empty arguments set. */
case CMD_PARSE_SUCCESS:
return (pr->cmdlist);
}
+ fatalx("invalid parse return state");
}
/* Free commands state. */