works
This commit is contained in:
parent
b853f7469a
commit
3a2a7fe7aa
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user