Commit 74a1fd3d0 for llama.cpp

commit 74a1fd3d039b5be814d54ee21d419cbee4cb00b8
Author: Julien Chaumond <julien@huggingface.co>
Date:   Tue Oct 27 11:55:48 2026 +0100

    common : --model or -hf is required (#31242)

    Assisted-by: Codex

diff --git a/common/arg.cpp b/common/arg.cpp
index 9706b3ac5..eec92f5af 100644
--- a/common/arg.cpp
+++ b/common/arg.cpp
@@ -924,7 +924,7 @@ static bool common_params_parse_ex(int argc, char ** argv, common_params_context
         // TODO @ngxson : maybe show a list of available models in CLI in this case
         bool can_skip_model = params.usage || params.completion || !params.server_base.empty();
         if (!can_skip_model && params.model.path.empty()) {
-            throw std::invalid_argument("error: --model is required\n");
+            throw std::invalid_argument("error: --model or -hf is required\n");
         }
     }