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

Print "success" if error code is 0 #215

Open
corkrean opened this issue Mar 21, 2023 · 2 comments
Open

Print "success" if error code is 0 #215

corkrean opened this issue Mar 21, 2023 · 2 comments

Comments

@corkrean
Copy link
Contributor

Presently, nothing is printed to stdout if a write is successful. We could enhance the usability of Zed by printing a success message after a write returns error code 0.

@josephschorr
Copy link
Member

@corkrean We print out the zedtoken on success. Do you think we need more than that?

@jzelinskie
Copy link
Member

jzelinskie commented Aug 14, 2023

Most unix-like tools don't output on success, so we tried that at first.
However, if there's something that makes sense to output, we should (e.g. Joey's example of the zedtoken on write).

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

3 participants