Skip to content
This repository was archived by the owner on Oct 6, 2025. It is now read-only.

Commit d3ac53c

Browse files
committed
package: replace TAG with MODEL and use standard usage string
Signed-off-by: Dorin Geman <[email protected]>
1 parent 4a4056b commit d3ac53c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

commands/package.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ func newPackagedCmd() *cobra.Command {
2424
var opts packageOptions
2525

2626
c := &cobra.Command{
27-
Use: "package --gguf <path> [--license <path>...] [--context-size <tokens>] [--push] TAG",
27+
Use: "package --gguf <path> [--license <path>...] [--context-size <tokens>] [--push] MODEL",
2828
Short: "Package a GGUF file into a Docker model OCI artifact, with optional licenses. The package is sent to the model-runner, unless --push is specified",
2929
Args: func(cmd *cobra.Command, args []string) error {
3030
if len(args) != 1 {
3131
return fmt.Errorf(
3232
"'docker model package' requires 1 argument.\n\n"+
33-
"Usage: %s\n\n"+
33+
"Usage: docker model %s\n\n"+
3434
"See 'docker model package --help' for more information",
3535
cmd.Use,
3636
)

docs/reference/docker_model_package.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ short: |
33
Package a GGUF file into a Docker model OCI artifact, with optional licenses. The package is sent to the model-runner, unless --push is specified
44
long: |
55
Package a GGUF file into a Docker model OCI artifact, with optional licenses. The package is sent to the model-runner, unless --push is specified
6-
usage: docker model package --gguf <path> [--license <path>...] [--context-size <tokens>] [--push] TAG
6+
usage: docker model package --gguf <path> [--license <path>...] [--context-size <tokens>] [--push] MODEL
77
pname: docker model
88
plink: docker_model.yaml
99
options:

0 commit comments

Comments
 (0)