Skip to content

Commit bd40e89

Browse files
committed
docs(diff): update --filter CLI help text
Update the short help text for the --filter parameter to document all valid filter options (added, modified, renamed, dropped) and mention that 'removed' is accepted as an alias for 'dropped'. Refs: #1430
1 parent f5419aa commit bd40e89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go/cmd/dolt/cli/arg_parser_helpers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ func CreateDiffArgParser(isTableFunction bool) *argparser.ArgParser {
311311
ap.SupportsString(FormatFlag, "r", "result output format", "How to format diff output. Valid values are tabular, sql, json. Defaults to tabular.")
312312
ap.SupportsString(WhereParam, "", "column", "filters columns based on values in the diff. See {{.EmphasisLeft}}dolt diff --help{{.EmphasisRight}} for details.")
313313
ap.SupportsInt(LimitParam, "", "record_count", "limits to the first N diffs.")
314-
ap.SupportsString(FilterParam, "", "diff_type", "filters results based on the type of modification (added, modified, removed).")
314+
ap.SupportsString(FilterParam, "", "diff_type", "filters results based on the type of change (added, modified, renamed, dropped). 'removed' is accepted as an alias for 'dropped'.")
315315
ap.SupportsFlag(StagedFlag, "", "Show only the staged data changes.")
316316
ap.SupportsFlag(CachedFlag, "c", "Synonym for --staged")
317317
ap.SupportsFlag(MergeBase, "", "Uses merge base of the first commit and second commit (or HEAD if not supplied) as the first commit")

0 commit comments

Comments
 (0)