Make the "convert" argument to mkyaffs*image optional.
[yaffs2.git] / utils / mkyaffsimage.c
index f07cdd5820c0d64d4c1c767214611aaee24ac994..fa9479ad3b227e7e32469b5386121255fcd49be1 100644 (file)
@@ -532,7 +532,7 @@ int main(int argc, char *argv[])
        
        printf("mkyaffsimage: image building tool for YAFFS built "__DATE__"\n");
        
-       if(argc <= 3)
+       if(argc < 3)
        {
                printf("usage: mkyaffsimage dir image_file [convert]\n");
                printf("           dir        the directory tree to be converted\n");