Skip to content

Commit 26cd3b0

Browse files
committed
docs: clarify --viewpoint help text for markdown output
The flag said it outputs "only the schema", but with -t md it generates the dedicated viewpoint document (groups + ER), not a plain filtered schema. Mention the markdown special case so --help matches behavior.
1 parent 3984b4e commit 26cd3b0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/out.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,6 @@ func init() {
193193
outCmd.Flags().StringSliceVarP(&excludes, "exclude", "", []string{}, "tables to exclude")
194194
outCmd.Flags().StringSliceVarP(&labels, "label", "", []string{}, "table labels to be included")
195195
outCmd.Flags().IntVarP(&distance, "distance", "", 0, "distance between related tables to be displayed")
196-
outCmd.Flags().StringVarP(&viewpoint, "viewpoint", "", "", "output only the schema of the specified viewpoint (by id, or by index)")
196+
outCmd.Flags().StringVarP(&viewpoint, "viewpoint", "", "", "output only the specified viewpoint (by id, or by index); with -t md the viewpoint document (groups + ER) is generated")
197197
outCmd.Flags().StringVarP(&when, "when", "", "", "command execute condition")
198198
}

0 commit comments

Comments
 (0)