Fossil SCM

Clean up the fossil bisect summary per [https://fossil-scm.org/forum/forumpost/00503372fc]

andygoth 2020-09-19 13:58 trunk
Commit 6e45212a5bea9605bf2f3752a0cd903c5da3c3284073003e06cd567baefec2b0
1 file changed +3 -2
+3 -2
--- src/bisect.c
+++ src/bisect.c
@@ -442,11 +442,11 @@
442442
int n;
443443
const char *zCmd;
444444
int foundCmd = 0;
445445
db_must_be_within_tree();
446446
if( g.argc<3 ){
447
- usage("bad|good|log|next|options|reset|skip|status|undo");
447
+ goto usage;
448448
}
449449
zCmd = g.argv[2];
450450
n = strlen(zCmd);
451451
if( n==0 ) zCmd = "-";
452452
if( strncmp(zCmd, "bad", n)==0 ){
@@ -610,8 +610,9 @@
610610
|| strncmp(zCmd, "status", n)==0
611611
){
612612
int fAll = find_option("all", "a", 0)!=0;
613613
bisect_list(!fAll);
614614
}else if( !foundCmd ){
615
- usage("bad|good|log|next|options|reset|status|ui|undo");
615
+usage:
616
+ usage("bad|good|log|chart|next|options|reset|skip|status|ui|undo");
616617
}
617618
}
618619
--- src/bisect.c
+++ src/bisect.c
@@ -442,11 +442,11 @@
442 int n;
443 const char *zCmd;
444 int foundCmd = 0;
445 db_must_be_within_tree();
446 if( g.argc<3 ){
447 usage("bad|good|log|next|options|reset|skip|status|undo");
448 }
449 zCmd = g.argv[2];
450 n = strlen(zCmd);
451 if( n==0 ) zCmd = "-";
452 if( strncmp(zCmd, "bad", n)==0 ){
@@ -610,8 +610,9 @@
610 || strncmp(zCmd, "status", n)==0
611 ){
612 int fAll = find_option("all", "a", 0)!=0;
613 bisect_list(!fAll);
614 }else if( !foundCmd ){
615 usage("bad|good|log|next|options|reset|status|ui|undo");
 
616 }
617 }
618
--- src/bisect.c
+++ src/bisect.c
@@ -442,11 +442,11 @@
442 int n;
443 const char *zCmd;
444 int foundCmd = 0;
445 db_must_be_within_tree();
446 if( g.argc<3 ){
447 goto usage;
448 }
449 zCmd = g.argv[2];
450 n = strlen(zCmd);
451 if( n==0 ) zCmd = "-";
452 if( strncmp(zCmd, "bad", n)==0 ){
@@ -610,8 +610,9 @@
610 || strncmp(zCmd, "status", n)==0
611 ){
612 int fAll = find_option("all", "a", 0)!=0;
613 bisect_list(!fAll);
614 }else if( !foundCmd ){
615 usage:
616 usage("bad|good|log|chart|next|options|reset|skip|status|ui|undo");
617 }
618 }
619

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button