> > +static const char *arg_str(const char * const *strings, > + size_t array_size, size_t idx) > +{ > + if (idx < array_size && strings[idx]) > + return strings[idx]; > + return "unrecognized"; > +} The indentation of the function body looks b0rked.