master
Philippe Pittoli 2011-09-19 00:00:39 +02:00
parent b853f7469a
commit 3a2a7fe7aa
1 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,7 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <unistd.h>
int main(int argc, char * argv[]) int main(int argc, char * argv[])
{ {
@ -28,6 +29,7 @@ int main(int argc, char * argv[])
fprintf(stdout,"erreur : %s\n",optopt); fprintf(stdout,"erreur : %s\n",optopt);
break; break;
} }
}
// s'il reste des options // s'il reste des options
if(argc != optind) if(argc != optind)
{ {