From: Henk Poley Date: Sat, 28 Oct 2023 10:16:33 +0000 (+0200) Subject: common : print that one line of the syntax help *also* to standard output (#3823) X-Git-Tag: upstream/0.0.4488~3052 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=177461104b454163473dced2a5038f4e016cdb7e;p=pkg%2Fggml%2Fsources%2Fllama.cpp common : print that one line of the syntax help *also* to standard output (#3823) --- diff --git a/common/common.cpp b/common/common.cpp index 44bb7661..c0d4924e 100644 --- a/common/common.cpp +++ b/common/common.cpp @@ -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");