Skip to content

improved output for diff commands #62

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

Open
wants to merge 2 commits into
base: 13
Choose a base branch
from

Conversation

octocorvus
Copy link

Improves output of diff commands (diff-files, diff-props and diff-vintf)
by prefixing addition and removal by plus (+) and minus (-) sign,
respectively.

Adds --type command line flag to specify output type (can use one of
all, added and removed; all is default).

JSON output can possibly be used for scripting

@octocorvus octocorvus force-pushed the diff-commands-improved-output branch 2 times, most recently from 202e40b to 9a87805 Compare June 7, 2023 18:34
Improves output of diff commands (diff-files, diff-props and diff-vintf)
by prefixing addition and removal by plus (+) and minus (-) sign,
respectively.

Adds `--type` command line flag to specify output type (can use one of
`all`, `added` and `removed`; `all` is default).

Also, solves an issue where information (about which files/props/vintf
are added/removed) is lost when piping the output of diff commands (in
some shells).
@octocorvus octocorvus force-pushed the diff-commands-improved-output branch from 9a87805 to f3b02b6 Compare June 7, 2023 18:51
@thestinger thestinger force-pushed the 13 branch 2 times, most recently from cfd23ac to 27b4196 Compare June 21, 2023 06:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant