s4-torture: catch bad command line options
[ira/wip.git] / source4 / torture / smbtorture.c
index dbd45bf8af1c92dc0894131403ced657b5ed0b68..08c5748a4075576ec2d4c87493950188fab0ce8e 100644 (file)
@@ -519,6 +519,9 @@ int main(int argc,char *argv[])
                                talloc_free(option);
                        }
                        break;
+               default:
+                       printf("bad command line option\n");
+                       exit(1);
                }
        }