Skip to content
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

improved output for diff commands #62

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

Conversation

octocorvus
Copy link
Member

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).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant