diff --git a/docs/src/docs/cli/cli-reference.md b/docs/src/docs/cli/cli-reference.md index 5e8c9213..31f05809 100644 --- a/docs/src/docs/cli/cli-reference.md +++ b/docs/src/docs/cli/cli-reference.md @@ -408,7 +408,7 @@ kit pack . -f /path/to/your/Kitfile -t registry/repository:modelv1 ### Options ``` - -f, --file string Specifies the path to the Kitfile explictly (use "-" to read from standard input) + -f, --file string Specifies the path to the Kitfile explicitly (use "-" to read from standard input) -t, --tag string Assigns one or more tags to the built modelkit. Example: -t registry/repository:tag1,tag2 --compression string Compression format to use for layers. Valid options: 'none' (default), 'gzip', 'gzip-fastest' (default "none") -h, --help help for pack diff --git a/pkg/cmd/pack/cmd.go b/pkg/cmd/pack/cmd.go index 8cede3b4..2f933537 100644 --- a/pkg/cmd/pack/cmd.go +++ b/pkg/cmd/pack/cmd.go @@ -62,7 +62,7 @@ func PackCommand() *cobra.Command { Example: examples, RunE: runCommand(opts), } - cmd.Flags().StringVarP(&opts.modelFile, "file", "f", "", "Specifies the path to the Kitfile explictly (use \"-\" to read from standard input)") + cmd.Flags().StringVarP(&opts.modelFile, "file", "f", "", "Specifies the path to the Kitfile explicitly (use \"-\" to read from standard input)") cmd.Flags().StringVarP(&opts.fullTagRef, "tag", "t", "", "Assigns one or more tags to the built modelkit. Example: -t registry/repository:tag1,tag2") cmd.Flags().StringVar(&opts.compression, "compression", "none", "Compression format to use for layers. Valid options: 'none' (default), 'gzip', 'gzip-fastest'") cmd.Flags().SortFlags = false