Skip to content

Commit

Permalink
evanix: pass optstring
Browse files Browse the repository at this point in the history
  • Loading branch information
sinanmohd committed Jul 20, 2024
1 parent f8bfd5e commit 02dc806
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/evanix.c
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ int main(int argc, char *argv[])
{NULL, 0, NULL, 0},
};

while ((ret = getopt_long(argc, argv, "", longopts, &longindex)) !=
-1) {
while ((ret = getopt_long(argc, argv, "hfds:rm:p:c:l:", longopts,
&longindex)) != -1) {
switch (ret) {
case 'h':
printf("%s", usage);
Expand Down

0 comments on commit 02dc806

Please sign in to comment.