Browse Source

common : allow --system-prompt-file for diffusion-cli (#16903)

Sigbjørn Skjæret 2 months ago
parent
commit
961660b8c3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      common/arg.cpp

+ 1 - 1
common/arg.cpp

@@ -2030,7 +2030,7 @@ common_params_context common_params_parser_init(common_params & params, llama_ex
                 params.system_prompt.pop_back();
                 params.system_prompt.pop_back();
             }
             }
         }
         }
-    ).set_examples({LLAMA_EXAMPLE_MAIN}));
+    ).set_examples({LLAMA_EXAMPLE_MAIN, LLAMA_EXAMPLE_DIFFUSION}));
     add_opt(common_arg(
     add_opt(common_arg(
         {"--in-file"}, "FNAME",
         {"--in-file"}, "FNAME",
         "an input file (repeat to specify multiple files)",
         "an input file (repeat to specify multiple files)",