author | Olivier Brunel
<jjk@jjacky.com> 2023-08-20 14:38:19 UTC |
committer | Olivier Brunel
<jjk@jjacky.com> 2023-08-20 14:55:39 UTC |
parent | 6c2b25aa28d0e92466ac3565001e7a6501f47fd9 |
src/ssp/add.c | +1 | -1 |
src/ssp/edit.c | +1 | -1 |
src/ssp/remove.c | +1 | -1 |
src/ssp/rename.c | +1 | -1 |
diff --git a/src/ssp/add.c b/src/ssp/add.c index 14bd7dc..f78e217 100644 --- a/src/ssp/add.c +++ b/src/ssp/add.c @@ -198,7 +198,7 @@ add_main(int argc, const char *argv[], const char *env[], const char usage[], vo diefu(exitcode_from_errno(errno), "open database"); const char *entry = ctx.sa.s + ctx.entoff; - out("Adding entry ", ESC, entry, ESC, "..."); + quiet("Adding entry ", ESC, entry, ESC, "..."); rebuild_db(NULL, entry, p, ssp); dbg("showing added entry"); diff --git a/src/ssp/edit.c b/src/ssp/edit.c index 209650a..01d8209 100644 --- a/src/ssp/edit.c +++ b/src/ssp/edit.c @@ -191,7 +191,7 @@ edit_main(int argc, const char *argv[], const char *env[], const char usage[], v && !memcmp(p, cur, otplen)) dief(EX_DATA_ERR, "nothing to do"); - out("Editing entry ", ESC, entry, ESC, "... "); + quiet("Editing entry ", ESC, entry, ESC, "... "); rebuild_db(entry, entry, p, ssp); dbg("showing edited entry"); diff --git a/src/ssp/remove.c b/src/ssp/remove.c index 0d8fc67..a532236 100644 --- a/src/ssp/remove.c +++ b/src/ssp/remove.c @@ -66,7 +66,7 @@ remove_main(int argc, const char *argv[], const char *env[], const char usage[], if (!r) dief(EX_DATA_ERR, "no entry ", ESC, entry, ESC, " in database"); - out("Removing ", ESC, entry, ESC, "..."); + quiet("Removing entry ", ESC, entry, ESC, "..."); rebuild_db(entry, NULL, NULL, ssp); return 0; diff --git a/src/ssp/rename.c b/src/ssp/rename.c index 0bff5ac..294bcd0 100644 --- a/src/ssp/rename.c +++ b/src/ssp/rename.c @@ -77,7 +77,7 @@ rename_main(int argc, const char *argv[], const char *env[], const char usage[], if (!r) dief(EX_DATA_ERR, "no entry ", ESC, entry, ESC, " in database"); - out("Renaming ", ESC, entry, ESC, " to ", ESC, newname, ESC, "..."); + quiet("Renaming ", ESC, entry, ESC, " to ", ESC, newname, ESC, "..."); rebuild_db(entry, newname, db_otp(ssp), ssp); dbg("showing renamed entry");