This commit is contained in:
Philippe Pittoli 2011-09-19 00:00:39 +02:00
parent b853f7469a
commit 3a2a7fe7aa

View File

@ -1,6 +1,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
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)
{