]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
common : print that one line of the syntax help *also* to standard output (#3823)
authorHenk Poley <redacted>
Sat, 28 Oct 2023 10:16:33 +0000 (12:16 +0200)
committerGitHub <redacted>
Sat, 28 Oct 2023 10:16:33 +0000 (13:16 +0300)
common/common.cpp

index 44bb76618f5f8b84c939604d6362e2b567927925..c0d4924e2d4a5331107c7d43783ccdc8ec264f51 100644 (file)
@@ -743,7 +743,7 @@ void gpt_print_usage(int /*argc*/, char ** argv, const gpt_params & params) {
 #endif // GGML_USE_CUBLAS
 #endif
     printf("  --verbose-prompt      print prompt before generation\n");
-    fprintf(stderr, "  --simple-io           use basic IO for better compatibility in subprocesses and limited consoles\n");
+    printf("  --simple-io           use basic IO for better compatibility in subprocesses and limited consoles\n");
     printf("  --lora FNAME          apply LoRA adapter (implies --no-mmap)\n");
     printf("  --lora-scaled FNAME S apply LoRA adapter with user defined scaling S (implies --no-mmap)\n");
     printf("  --lora-base FNAME     optional model to use as a base for the layers modified by the LoRA adapter\n");