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

Quiet mode: suppress output that is not an error. #17

Open
pete4abw opened this issue Mar 4, 2019 · 0 comments
Open

Quiet mode: suppress output that is not an error. #17

pete4abw opened this issue Mar 4, 2019 · 0 comments

Comments

@pete4abw
Copy link
Contributor

pete4abw commented Mar 4, 2019

If scrub is called from within a file manager or other application, output to stdout and possibly stderr, is not required. Suggest adding a new option " -q " to enable quiet mode (think of the way shred operates by default). The quiet option could be an if !quiet then print wrapper around any printf statement or a #define could be added to make the print function intelligent.
On a related matter, the mix of printf, fprintf, is messy. Should adopt a standard output methodology. Here again a #define printf would be useful.

#define print_on_error function...
#define print_standard function...
#define print_progress function...

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

1 participant