Skip to content

Commit

Permalink
sort flags
Browse files Browse the repository at this point in the history
  • Loading branch information
shlomif committed Jun 7, 2023
1 parent b5a59af commit 1b9322f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fortune-mod/fortune/fortune.c
Original file line number Diff line number Diff line change
Expand Up @@ -1211,13 +1211,13 @@ static void getargs(int argc, char **argv)
"(Sorry)\n");
exit(0);
#else /* NO_REGEX */
case 'i': /* case-insensitive match */
ignore_case = true;
break;
case 'm': /* dump out the fortunes */
Match = true;
pat = optarg;
break;
case 'i': /* case-insensitive match */
ignore_case = true;
break;
#endif /* NO_REGEX */
case 'u': /* Don't recode the fortune */
No_recode = true;
Expand Down

0 comments on commit 1b9322f

Please sign in to comment.