int
do_update(char *str, FILE *log) {
+ BOOLEAN quiet = FALSE;
SPLIT splt = &uni.update.splt;
+ if (*str == '-') {
+ quiet = TRUE;
+ str++;
+ }
+
split(splt, str);
if (NF(splt) < 1) return -1;
val = (*thk)(NF(splt) - 1, Fptr(splt, 1));
sem_post(&top.sync.upd.sem);
- if (log) {
+ if (log && !quiet) {
int i;
char *s = since(&top.start_tv);
fprintf(log, "update[%s]: returned %d from", s, val);