Define the long options structure as const.

This commit is contained in:
SId Price 2022-06-26 15:05:48 -06:00 committed by Rachel Mant
parent 84408fef57
commit 9aba7ecce2
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ static void cl_help(char **argv)
exit(0);
}
static struct option long_options[] = {
static const struct option long_options[] = {
{"help", no_argument, NULL, 'h'},
{"list", no_argument, NULL, 'l'},
{"verbose", required_argument, NULL, 'v'},