Update the description messages of binary and git flags
Updates the help messages of both binary and git.
Closes
@@ -182,9 +182,9 @@ A full list of component types that can be deployed is available using: 'odo cat
}
func init() {
- componentCreateCmd.Flags().StringVar(&componentBinary, "binary", "", "Binary artifact")
- componentCreateCmd.Flags().StringVar(&componentGit, "git", "", "Git source")
- componentCreateCmd.Flags().StringVar(&componentLocal, "local", "", "Use local directory as a source for component")
+ componentCreateCmd.Flags().StringVar(&componentBinary, "binary", "", "Use a binary as the source file for the component")
+ componentCreateCmd.Flags().StringVar(&componentGit, "git", "", "Use a git repository as the source file for the component")
+ componentCreateCmd.Flags().StringVar(&componentLocal, "local", "", "Use local directory as a source file for the component")
componentCreateCmd.Flags().StringSliceVar(&componentPorts, "port", []string{}, "Ports to be used when the component is created")
// Add a defined annotation in order to appear in the help menu
