Artifact
ddf5c80b89cb3836868baf0ed6b2dcbc22110a12:
Attachment "bisect.diff" to
ticket [82cd90df]
added by
anonymous
2011-03-30 17:52:14.
Index: src/bisect.c
===================================================================
--- src/bisect.c
+++ src/bisect.c
@@ -88,10 +88,13 @@
*/
void bisect_cmd(void){
int n;
const char *zCmd;
db_must_be_within_tree();
+ if (g.argc < 3) {
+ usage("bad|good|next|reset|vlist ...");
+ };
zCmd = g.argv[2];
n = strlen(zCmd);
if( n==0 ) zCmd = "-";
if( memcmp(zCmd, "bad", n)==0 ){
int ridBad;