Skip to content

Commit

Permalink
Fixed broken opt arg in linux
Browse files Browse the repository at this point in the history
  • Loading branch information
mcfriend99 committed Feb 23, 2024
1 parent 58fe5de commit e4f105b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/blade.c
Expand Up @@ -252,9 +252,9 @@ int main(int argc, char *argv[]) {
if (argc > 1) {
int opt;
#ifdef __linux__
while ((opt = getopt(argc, argv, "+hdeb:vg:wc:--")) != -1) {
while ((opt = getopt(argc, argv, "+hdeb:vg:wc:")) != -1) {
#else
while ((opt = getopt(argc, argv, "hdeb:vg:wc:--")) != -1) {
while ((opt = getopt(argc, argv, "hdeb:vg:wc:")) != -1) {
#endif
switch (opt) {
case 'h': {
Expand Down

0 comments on commit e4f105b

Please sign in to comment.