Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix typo #411

Merged
merged 2 commits into from
Jul 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/src/docs/cli/cli-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pkg/cmd/pack/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down