Fossil SCM
Fix usage wording for the branch command.
Commit
8e8d1f067fb36461b47dcd0d99fb4f7c3c27417211e67cbd4ea12dce4a4100d1
Parent
a8782f33d3af3f2…
1 file changed
+4
-4
+4
-4
| --- src/branch.c | ||
| +++ src/branch.c | ||
| @@ -806,26 +806,26 @@ | ||
| 806 | 806 | db_finalize(&q); |
| 807 | 807 | }else if( strncmp(zCmd,"new",n)==0 ){ |
| 808 | 808 | branch_new(); |
| 809 | 809 | }else if( strncmp(zCmd,"close",5)==0 ){ |
| 810 | 810 | if(g.argc<4){ |
| 811 | - usage("branch close branch-name(s)..."); | |
| 811 | + usage("close branch-name(s)..."); | |
| 812 | 812 | } |
| 813 | 813 | branch_cmd_close(3, 1); |
| 814 | 814 | }else if( strncmp(zCmd,"reopen",6)==0 ){ |
| 815 | 815 | if(g.argc<4){ |
| 816 | - usage("branch reopen branch-name(s)..."); | |
| 816 | + usage("reopen branch-name(s)..."); | |
| 817 | 817 | } |
| 818 | 818 | branch_cmd_close(3, 0); |
| 819 | 819 | }else if( strncmp(zCmd,"hide",4)==0 ){ |
| 820 | 820 | if(g.argc<4){ |
| 821 | - usage("branch hide branch-name(s)..."); | |
| 821 | + usage("hide branch-name(s)..."); | |
| 822 | 822 | } |
| 823 | 823 | branch_cmd_hide(3,1); |
| 824 | 824 | }else if( strncmp(zCmd,"unhide",6)==0 ){ |
| 825 | 825 | if(g.argc<4){ |
| 826 | - usage("branch unhide branch-name(s)..."); | |
| 826 | + usage("unhide branch-name(s)..."); | |
| 827 | 827 | } |
| 828 | 828 | branch_cmd_hide(3,0); |
| 829 | 829 | }else{ |
| 830 | 830 | fossil_fatal("branch subcommand should be one of: " |
| 831 | 831 | "close current hide info list ls lsh new reopen unhide"); |
| 832 | 832 |
| --- src/branch.c | |
| +++ src/branch.c | |
| @@ -806,26 +806,26 @@ | |
| 806 | db_finalize(&q); |
| 807 | }else if( strncmp(zCmd,"new",n)==0 ){ |
| 808 | branch_new(); |
| 809 | }else if( strncmp(zCmd,"close",5)==0 ){ |
| 810 | if(g.argc<4){ |
| 811 | usage("branch close branch-name(s)..."); |
| 812 | } |
| 813 | branch_cmd_close(3, 1); |
| 814 | }else if( strncmp(zCmd,"reopen",6)==0 ){ |
| 815 | if(g.argc<4){ |
| 816 | usage("branch reopen branch-name(s)..."); |
| 817 | } |
| 818 | branch_cmd_close(3, 0); |
| 819 | }else if( strncmp(zCmd,"hide",4)==0 ){ |
| 820 | if(g.argc<4){ |
| 821 | usage("branch hide branch-name(s)..."); |
| 822 | } |
| 823 | branch_cmd_hide(3,1); |
| 824 | }else if( strncmp(zCmd,"unhide",6)==0 ){ |
| 825 | if(g.argc<4){ |
| 826 | usage("branch unhide branch-name(s)..."); |
| 827 | } |
| 828 | branch_cmd_hide(3,0); |
| 829 | }else{ |
| 830 | fossil_fatal("branch subcommand should be one of: " |
| 831 | "close current hide info list ls lsh new reopen unhide"); |
| 832 |
| --- src/branch.c | |
| +++ src/branch.c | |
| @@ -806,26 +806,26 @@ | |
| 806 | db_finalize(&q); |
| 807 | }else if( strncmp(zCmd,"new",n)==0 ){ |
| 808 | branch_new(); |
| 809 | }else if( strncmp(zCmd,"close",5)==0 ){ |
| 810 | if(g.argc<4){ |
| 811 | usage("close branch-name(s)..."); |
| 812 | } |
| 813 | branch_cmd_close(3, 1); |
| 814 | }else if( strncmp(zCmd,"reopen",6)==0 ){ |
| 815 | if(g.argc<4){ |
| 816 | usage("reopen branch-name(s)..."); |
| 817 | } |
| 818 | branch_cmd_close(3, 0); |
| 819 | }else if( strncmp(zCmd,"hide",4)==0 ){ |
| 820 | if(g.argc<4){ |
| 821 | usage("hide branch-name(s)..."); |
| 822 | } |
| 823 | branch_cmd_hide(3,1); |
| 824 | }else if( strncmp(zCmd,"unhide",6)==0 ){ |
| 825 | if(g.argc<4){ |
| 826 | usage("unhide branch-name(s)..."); |
| 827 | } |
| 828 | branch_cmd_hide(3,0); |
| 829 | }else{ |
| 830 | fossil_fatal("branch subcommand should be one of: " |
| 831 | "close current hide info list ls lsh new reopen unhide"); |
| 832 |