mirror of https://github.com/ollama/ollama.git
Merge 92aa0e943a
into 292767afb4
This commit is contained in:
commit
c9b0f5dd2a
|
@ -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,
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue