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

Optional write to stdout instead of file #195

Closed
wants to merge 4 commits into from

Conversation

xibz
Copy link

@xibz xibz commented Feb 6, 2015

Here is an optional flag that allows for writing directly to stdout. Was thinking of using the stdout file descriptor, but realized the portability may be of some issues there. Unsure of it.
So, instead, just used cout.

Also, I noticed that all arguments require a value. I am thinking of changing this, but this is a little more work.

protoc --=. --stdout=true file.proto

@googlebot
Copy link

Thanks for your pull request.

It looks like this may be your first contribution to a Google open source project, in which case you'll need to sign a Contributor License Agreement (CLA) at https://cla.developers.google.com/.

If you've already signed a CLA, it's possible we don't have your GitHub username or you're using a different email address. Check the information on your CLA or see this help article on setting the email on your git commits.

Once you've done that, please reply here to let us know. If you signed the CLA as a corporation, please let us know the company's name.

@xibz
Copy link
Author

xibz commented Feb 7, 2015

Hey googlebot, I just signed the CLA at https://cla.developers.google.com/.

@googlebot
Copy link

CLAs look good, thanks!

@googlebot googlebot added cla: yes and removed cla: no labels Feb 7, 2015
@xibz xibz closed this Mar 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants