Skip to content

Commit 3707518

Browse files
committed
main: default with no languages
1 parent b84e918 commit 3707518

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ func init() {
5454
func init() {
5555
rootCommand.PersistentFlags().StringVarP(&title, "title", "t", "", "title of documentation")
5656
rootCommand.PersistentFlags().StringVarP(&targetPath, "target-path", "p", "", "file path to save the documentation")
57-
rootCommand.PersistentFlags().StringSliceVarP(&languageOptions, "languages", "o", []string{"Go", "C++", "Java", "Python"}, "language options in field descriptions")
57+
rootCommand.PersistentFlags().StringSliceVarP(&languageOptions, "languages", "o", []string{}, "language options in field descriptions (Go, C++, Java, Python, Ruby, C#)")
5858
}
5959

6060
func CommandFunc(cmd *cobra.Command, args []string) error {

0 commit comments

Comments
 (0)