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

Split --format option into --show-mode and --(body-)format #18

Merged
merged 1 commit into from Mar 24, 2017

Conversation

amotoki
Copy link
Collaborator

@amotoki amotoki commented Mar 24, 2017

Previously --format option has two meaning: what are shown and
what format is used. They are orthogonal and it looks reasonable
to split them into two options.

This commit introduces --show-mode option to specify what are shown.
It takes three modes (ALL, RESP, BODY).
After this change, --dump-request option no longer has a meaning
and it is dropped in this commit.

README is updated accordingly.

Previously --format option has two meaning: what are shown and
what format is used. They are orthogonal and it looks reasonable
to split them into two options.

This commit introduces --show-mode option to specify what are shown.
It takes three modes (ALL, RESP, BODY).
After this change, --dump-request option no longer has a meaning
and it is dropped in this commit.

README is updated accordingly.
@yosshy yosshy merged commit ebed808 into yosshy:master Mar 24, 2017
@amotoki amotoki deleted the show-mode branch March 24, 2017 12:19
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.

None yet

2 participants