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

Request: separate error output #12

Open
abe-k opened this issue Jun 25, 2015 · 2 comments
Open

Request: separate error output #12

abe-k opened this issue Jun 25, 2015 · 2 comments

Comments

@abe-k
Copy link

abe-k commented Jun 25, 2015

Currently, both standard messages (such as version info, include paths, and code size) and error and warning messages are printed to stdout. It would be convenient if the errors and warnings were printed to stderr instead, so that one could suppress stdout (i.e. > /dev/null) to make it easier to see whether assembly had succeeded and what had gone wrong. Alternately, a command line "quiet" option could be added, that would suppress all messages except errors and warnings internally.

@mikeakohn
Copy link
Owner

I added a -q option to limit output. It still prints the credits.. I was going to quiet that also, but that might take a little work since.. well, I was going to move the credits under the command line argument part, but the output could get awkward that way. Let me know if this is good enough for you and I'll close it, otherwise I'll add the extra code to hide the credits too.

@abe-k
Copy link
Author

abe-k commented Jul 26, 2015

It's easy enough from a Makefile to hide the credits by piping to tail, since they're a fixed number of lines at the beginning. Ideally, of course, -q would hide everything except error messages, but I get how that's a bit of a pain when printing notifications before finishing parsing argv.

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

No branches or pull requests

2 participants