Fossil SCM

correct error message for "fossil all " (as per addition of "ls" subcommand alias)

bch 2009-08-09 22:13 trunk
Commit f438092f883512e35499d6767af9fbc028dd8ba4
1 file changed +1 -1
+1 -1
--- src/allrepo.c
+++ src/allrepo.c
@@ -105,11 +105,11 @@
105105
zCmd = "rebuild";
106106
}else if( strncmp(zCmd, "sync", n)==0 ){
107107
zCmd = "sync -autourl -R";
108108
}else{
109109
fossil_fatal("\"all\" subcommand should be one of: "
110
- "list push pull rebuild sync");
110
+ "list ls push pull rebuild sync");
111111
}
112112
zFossil = quoteFilename(g.argv[0]);
113113
nMissing = 0;
114114
db_prepare(&q, "SELECT substr(name, 6) FROM global_config"
115115
" WHERE substr(name, 1, 5)=='repo:' ORDER BY 1");
116116
--- 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

Keyboard Shortcuts

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