poke-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[COMMITTED] poke: uniformize error messages in pk_cmd_editor


From: Jose E. Marchesi
Subject: [COMMITTED] poke: uniformize error messages in pk_cmd_editor
Date: Tue, 24 Sep 2024 13:32:32 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

2024-09-24  Jose E. Marchesi  <jemarch@gnu.org>

        * poke/pk-cmd-editor.c (pk_cmd_editor): Do not print a dot at the
        end of error messages.
---
 ChangeLog            | 5 +++++
 poke/pk-cmd-editor.c | 6 +++---
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 5e92658d..edeae60f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-09-24  Jose E. Marchesi  <jemarch@gnu.org>
+
+       * poke/pk-cmd-editor.c (pk_cmd_editor): Do not print a dot at the
+       end of error messages.
+
 2024-09-24  Jose E. Marchesi  <jemarch@gnu.org>
 
        * libpoke/pkl-fold.c (OP_BINARY_SIS): Signal out of memory.
diff --git a/poke/pk-cmd-editor.c b/poke/pk-cmd-editor.c
index 64d2082a..03038f7c 100644
--- a/poke/pk-cmd-editor.c
+++ b/poke/pk-cmd-editor.c
@@ -66,7 +66,7 @@ pk_cmd_editor (int argc, struct pk_cmd_arg argv[], uint64_t 
uflags)
       pk_term_class ("error");
       pk_puts ("error: ");
       pk_term_end_class ("error");
-      pk_puts ("the EDITOR environment variable is not set.\n");
+      pk_puts ("the EDITOR environment variable is not set\n");
       return 0;
     }
 
@@ -77,7 +77,7 @@ pk_cmd_editor (int argc, struct pk_cmd_arg argv[], uint64_t 
uflags)
       pk_term_class ("error");
       pk_puts ("error: ");
       pk_term_end_class ("error");
-      pk_puts ("determining a temporary file name.\n");
+      pk_puts ("determining a temporary file name\n");
       return 0;
     }
 
@@ -90,7 +90,7 @@ pk_cmd_editor (int argc, struct pk_cmd_arg argv[], uint64_t 
uflags)
       pk_term_class ("error");
       pk_puts ("error: ");
       pk_term_end_class ("error");
-      pk_puts ("executing editor.\n");
+      pk_puts ("executing editor\n");
       free (cmdline);
       return 0;
     }
-- 
2.30.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]