[PR #841] [MERGED] cleanup: command args #57052

Closed
opened 2026-04-29 11:38:25 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/841
Author: @mxyng
Created: 10/18/2023
Status: Merged
Merged: 10/19/2023
Merged by: @mxyng

Base: mainHead: mxyng/cleanup-cmd-args


📝 Commits (1)

📊 Changes

1 file changed (+8 additions, -7 deletions)

View changed files

📝 cmd/cmd.go (+8 -7)

📄 Description

A number of subcommands incorrectly set MinimumNArgs instead of ExactArgs which leads to confusion.

Related #803


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/841 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 10/18/2023 **Status:** ✅ Merged **Merged:** 10/19/2023 **Merged by:** [@mxyng](https://github.com/mxyng) **Base:** `main` ← **Head:** `mxyng/cleanup-cmd-args` --- ### 📝 Commits (1) - [`36c88cb`](https://github.com/ollama/ollama/commit/36c88cb9db35af2b63be489b062090675a09bf57) cmd: set ExactArgs ### 📊 Changes **1 file changed** (+8 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `cmd/cmd.go` (+8 -7) </details> ### 📄 Description A number of subcommands incorrectly set `MinimumNArgs` instead of `ExactArgs` which leads to confusion. Related #803 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-29 11:38:25 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#57052