Add help list

This commit is contained in:
pudepiedj 2023-10-09 16:10:10 +01:00
parent 3f07ed90a4
commit 094d6d6e09

View file

@ -627,7 +627,7 @@ bool gpt_params_parse(int argc, char ** argv, gpt_params & params) {
} }
// There were missing items from this list of helps so the wording needs checking (all inserted at the end, so reposition too): // There were missing items from this list of helps so the wording needs checking (all inserted at the end, so reposition too):
// --embedding, --beams, --ppl-stride, --ppl-output-type, --memory-f32, --no-mmap, --mlock, --use-color, --nprobs, --alias, --infill // --embedding, --beams, --ppl-stride, --ppl-output-type, --memory-f32, --no-mmap, --mlock, --use-color, --nprobs, --alias, --infill, --prompt-file
// some corresponding changes to the sequence of fprintf() code may be needed // some corresponding changes to the sequence of fprintf() code may be needed
void gpt_print_usage(int /*argc*/, char ** argv, const gpt_params & params) { void gpt_print_usage(int /*argc*/, char ** argv, const gpt_params & params) {
printf("usage: %s [options]\n", argv[0]); printf("usage: %s [options]\n", argv[0]);