-
-
Save anonymous/2cf21321e011cdf1555a8b174cc23bc4 to your computer and use it in GitHub Desktop.
Whoops
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <unistd.h> | |
#include <stdio.h> | |
int main(int argc, char **argv) { | |
char c; | |
printf("%u\n", argc); | |
while ((c = getopt(argc, argv, "dfs:u:o:g:c:h")) != -1) { | |
printf("Handling option %u", c); | |
break; | |
} | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment