This commit is contained in:
Sweta Tanwar 2025-10-06 21:29:43 +01:00 committed by GitHub
commit c9b0f5dd2a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 2 deletions

View File

@ -1586,7 +1586,7 @@ func versionHandler(cmd *cobra.Command, _ []string) {
}
if serverVersion != "" {
fmt.Printf("ollama version is %s\n", serverVersion)
fmt.Printf("Ollama version is %s\n", serverVersion)
}
if serverVersion != version.Version {
@ -1636,6 +1636,7 @@ func NewCLI() *cobra.Command {
}
rootCmd.Flags().BoolP("version", "v", false, "Show version information")
rootCmd.Flags().BoolP("help", "h", false, "help for Ollama")
createCmd := &cobra.Command{
Use: "create MODEL",
@ -1691,7 +1692,7 @@ func NewCLI() *cobra.Command {
serveCmd := &cobra.Command{
Use: "serve",
Aliases: []string{"start"},
Short: "Start ollama",
Short: "Start Ollama",
Args: cobra.ExactArgs(0),
RunE: RunServer,
}