None of these work without the proper # of arguments so print usage

This commit is contained in:
sin
2013-08-31 23:04:49 +01:00
parent 355911f010
commit 428cd4fe84
6 changed files with 27 additions and 0 deletions

View File

@@ -29,6 +29,9 @@ main(int argc, char *argv[])
usage();
} ARGEND;
if (argc < 1)
usage();
for(; argc > 0; argc--, argv++) {
if(pflag) {
mkdirp(argv[0]);