Fossil SCM
Add missing 'rebuild' subcommand suggestion for command 'fossil all' subcommands.
Commit
4f0f9922456318391ee2f19c2ae79da37711d79e
Parent
8636eef6e28f8e4…
1 file changed
+1
-1
+1
-1
| --- src/allrepo.c | ||
| +++ src/allrepo.c | ||
| @@ -103,11 +103,11 @@ | ||
| 103 | 103 | zCmd = "rebuild"; |
| 104 | 104 | }else if( strncmp(zCmd, "sync", n)==0 ){ |
| 105 | 105 | zCmd = "sync -autourl -R"; |
| 106 | 106 | }else{ |
| 107 | 107 | fossil_fatal("\"all\" subcommand should be one of: " |
| 108 | - "list push pull sync"); | |
| 108 | + "list push pull rebuild sync"); | |
| 109 | 109 | } |
| 110 | 110 | zFossil = quoteFilename(g.argv[0]); |
| 111 | 111 | nMissing = 0; |
| 112 | 112 | db_prepare(&q, "SELECT substr(name, 6) FROM global_config" |
| 113 | 113 | " WHERE substr(name, 1, 5)=='repo:' ORDER BY 1"); |
| 114 | 114 |
| --- src/allrepo.c | |
| +++ src/allrepo.c | |
| @@ -103,11 +103,11 @@ | |
| 103 | zCmd = "rebuild"; |
| 104 | }else if( strncmp(zCmd, "sync", n)==0 ){ |
| 105 | zCmd = "sync -autourl -R"; |
| 106 | }else{ |
| 107 | fossil_fatal("\"all\" subcommand should be one of: " |
| 108 | "list push pull sync"); |
| 109 | } |
| 110 | zFossil = quoteFilename(g.argv[0]); |
| 111 | nMissing = 0; |
| 112 | db_prepare(&q, "SELECT substr(name, 6) FROM global_config" |
| 113 | " WHERE substr(name, 1, 5)=='repo:' ORDER BY 1"); |
| 114 |
| --- src/allrepo.c | |
| +++ src/allrepo.c | |
| @@ -103,11 +103,11 @@ | |
| 103 | zCmd = "rebuild"; |
| 104 | }else if( strncmp(zCmd, "sync", n)==0 ){ |
| 105 | zCmd = "sync -autourl -R"; |
| 106 | }else{ |
| 107 | fossil_fatal("\"all\" subcommand should be one of: " |
| 108 | "list push pull rebuild sync"); |
| 109 | } |
| 110 | zFossil = quoteFilename(g.argv[0]); |
| 111 | nMissing = 0; |
| 112 | db_prepare(&q, "SELECT substr(name, 6) FROM global_config" |
| 113 | " WHERE substr(name, 1, 5)=='repo:' ORDER BY 1"); |
| 114 |