1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
|
}else{
putchar(*z);
z++;
}
}
putchar('\n');
}
/*
** WEBPAGE: help
** URL: /help?name=CMD
**
** Show the built-in help text for CMD. CMD can be a command-line interface
** command or a page name from the web interface.
|
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
|
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
|
}else{
putchar(*z);
z++;
}
}
putchar('\n');
}
/*
** COMMAND: test-all-help
** %fossil test-all-help
**
** Show all help text. Useful for proof-reading.
*/
void test_all_help_cmd(void){
int i;
fossil_print("All commands and pages:\n\n");
for(i=0; i<count(aCommand); i++){
//if( memcmp(aCommand[i].zName, "test", 4)==0 ) continue;
fossil_print("# %s\n", aCommand[i].zName);
fossil_print("%s\n\n", aCmdHelp[i].zText);
}
fossil_print("---\n");
version_cmd();
}
/*
** WEBPAGE: help
** URL: /help?name=CMD
**
** Show the built-in help text for CMD. CMD can be a command-line interface
** command or a page name from the web interface.
|