]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
systemctl: edit: rephrase edit markers to avoid misunderstanding
authorMike Yuan <me@yhndnzj.com>
Tue, 27 Dec 2022 09:41:18 +0000 (17:41 +0800)
committerLuca Boccassi <luca.boccassi@gmail.com>
Thu, 5 Jan 2023 00:58:05 +0000 (01:58 +0100)
Closes #25856

src/systemctl/systemctl-edit.c

index 133bce663142048d01d228342b55af0c529c6fc5..e200e312dbbf1057eb104173f7235731f72e03ea 100644 (file)
@@ -19,8 +19,8 @@
 #include "terminal-util.h"
 #include "tmpfile-util.h"
 
-#define EDIT_MARKER_START "### Anything between here and the comment below will become the new contents of the file"
-#define EDIT_MARKER_END "### Lines below this comment will be discarded"
+#define EDIT_MARKER_START "### Anything between here and the comment below will become the contents of the drop-in file"
+#define EDIT_MARKER_END "### Edits below this comment will be discarded"
 
 int verb_cat(int argc, char *argv[], void *userdata) {
         _cleanup_(hashmap_freep) Hashmap *cached_name_map = NULL, *cached_id_map = NULL;