diff --git a/C_Language/skel_getopts.c b/C_Language/skel_getopts.c index 1a29617..f922a7c 100644 --- a/C_Language/skel_getopts.c +++ b/C_Language/skel_getopts.c @@ -1,6 +1,7 @@ #include #include #include +#include int main(int argc, char * argv[]) { @@ -28,6 +29,7 @@ int main(int argc, char * argv[]) fprintf(stdout,"erreur : %s\n",optopt); break; } + } // s'il reste des options if(argc != optind) {