add multiple-argument deletion to rmdir
This commit is contained in:
parent
35c7b051b7
commit
5450b0c602
|
@ -2,5 +2,8 @@
|
||||||
|
|
||||||
int
|
int
|
||||||
main(int argc, char *argv[]) {
|
main(int argc, char *argv[]) {
|
||||||
rmdir(*argv);
|
while(*argv) {
|
||||||
|
rmdir(*argv);
|
||||||
|
*argv++;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue