summaryrefslogtreecommitdiffstats
path: root/src/onetimebluh.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/onetimebluh.c')
-rw-r--r--src/onetimebluh.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/onetimebluh.c b/src/onetimebluh.c
index 296318d..9a05e60 100644
--- a/src/onetimebluh.c
+++ b/src/onetimebluh.c
@@ -208,7 +208,9 @@ void xor (Opts* opzioni) {
if (opzioni->input) {
mex = fopen (opzioni->input, "r");
} else if (!opzioni->input) {
- printf("INFO: Reading from standard input (press ^D to insert the EOF character when you are finished):\n");
+ if (!opzioni->quiet) {
+ printf("INFO: Reading from standard input (press ^D to insert the EOF character when you are finished):\n");
+ }
input = readInput (stdin, 8);
}
@@ -363,7 +365,9 @@ void bluh (Opts* opzioni) {
if (opzioni->input) {
mex = fopen (opzioni->input, "r");
} else if (!opzioni->input) {
- printf("INFO: Reading from standard input (press ^D to insert the EOF character when you are finished):\n");
+ if (!opzioni->quiet) {
+ printf("INFO: Reading from standard input (press ^D to insert the EOF character when you are finished):\n");
+ }
input = readInput (stdin, 8);
}