Fossil SCM
correct error message for "fossil all " (as per addition of "ls" subcommand alias)
Commit
f438092f883512e35499d6767af9fbc028dd8ba4
Parent
e85b538fa816843…
1 file changed
+1
-1
+1
-1
| --- src/allrepo.c | ||
| +++ src/allrepo.c | ||
| @@ -105,11 +105,11 @@ | ||
| 105 | 105 | zCmd = "rebuild"; |
| 106 | 106 | }else if( strncmp(zCmd, "sync", n)==0 ){ |
| 107 | 107 | zCmd = "sync -autourl -R"; |
| 108 | 108 | }else{ |
| 109 | 109 | fossil_fatal("\"all\" subcommand should be one of: " |
| 110 | - "list push pull rebuild sync"); | |
| 110 | + "list ls push pull rebuild sync"); | |
| 111 | 111 | } |
| 112 | 112 | zFossil = quoteFilename(g.argv[0]); |
| 113 | 113 | nMissing = 0; |
| 114 | 114 | db_prepare(&q, "SELECT substr(name, 6) FROM global_config" |
| 115 | 115 | " WHERE substr(name, 1, 5)=='repo:' ORDER BY 1"); |
| 116 | 116 |
| --- src/allrepo.c | |
| +++ src/allrepo.c | |
| @@ -105,11 +105,11 @@ | |
| 105 | zCmd = "rebuild"; |
| 106 | }else if( strncmp(zCmd, "sync", n)==0 ){ |
| 107 | zCmd = "sync -autourl -R"; |
| 108 | }else{ |
| 109 | fossil_fatal("\"all\" subcommand should be one of: " |
| 110 | "list push pull rebuild sync"); |
| 111 | } |
| 112 | zFossil = quoteFilename(g.argv[0]); |
| 113 | nMissing = 0; |
| 114 | db_prepare(&q, "SELECT substr(name, 6) FROM global_config" |
| 115 | " WHERE substr(name, 1, 5)=='repo:' ORDER BY 1"); |
| 116 |
| --- src/allrepo.c | |
| +++ src/allrepo.c | |
| @@ -105,11 +105,11 @@ | |
| 105 | zCmd = "rebuild"; |
| 106 | }else if( strncmp(zCmd, "sync", n)==0 ){ |
| 107 | zCmd = "sync -autourl -R"; |
| 108 | }else{ |
| 109 | fossil_fatal("\"all\" subcommand should be one of: " |
| 110 | "list ls push pull rebuild sync"); |
| 111 | } |
| 112 | zFossil = quoteFilename(g.argv[0]); |
| 113 | nMissing = 0; |
| 114 | db_prepare(&q, "SELECT substr(name, 6) FROM global_config" |
| 115 | " WHERE substr(name, 1, 5)=='repo:' ORDER BY 1"); |
| 116 |