From b9d016d6848fdd00717166f67bfea257a445ba78 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 2 Oct 2018 16:43:54 +0200 Subject: [PATCH] tree-wide: drop all references to "journalctl --new-id128" Let's advertise "systemd-id128 new" instead. --- man/sd-id128.xml | 4 ++-- man/sd_id128_randomize.xml | 6 +++--- man/systemd.journal-fields.xml | 12 ++++-------- src/systemd/sd-messages.h | 8 +++----- 4 files changed, 12 insertions(+), 18 deletions(-) diff --git a/man/sd-id128.xml b/man/sd-id128.xml index fbcf4bf3677..4425c45d1e0 100644 --- a/man/sd-id128.xml +++ b/man/sd-id128.xml @@ -141,8 +141,8 @@ int main(int argc, char **argv) { } Note that new, randomized IDs may be generated with - journalctl1's - option. + systemd-id1281's + new command. diff --git a/man/sd_id128_randomize.xml b/man/sd_id128_randomize.xml index 4f7cd71398d..4f5b160bd99 100644 --- a/man/sd_id128_randomize.xml +++ b/man/sd_id128_randomize.xml @@ -52,9 +52,9 @@ type, see sd-id1283. - journalctl1's - option may be used as a command line - front-end for sd_id128_randomize(). + systemd-id1281's + new command may be used as a command line front-end for + sd_id128_randomize(). diff --git a/man/systemd.journal-fields.xml b/man/systemd.journal-fields.xml index 942c6ba91a3..76e1de72ca4 100644 --- a/man/systemd.journal-fields.xml +++ b/man/systemd.journal-fields.xml @@ -56,14 +56,10 @@ MESSAGE_ID= - A 128-bit message identifier ID for recognizing - certain message types, if this is desirable. This should - contain a 128-bit ID formatted as a lower-case hexadecimal - string, without any separating dashes or suchlike. This is - recommended to be a UUID-compatible ID, but this is not - enforced, and formatted differently. Developers can generate - a new ID for this purpose with journalctl - . + A 128-bit message identifier ID for recognizing certain message types, if this is desirable. This + should contain a 128-bit ID formatted as a lower-case hexadecimal string, without any separating dashes or + suchlike. This is recommended to be a UUID-compatible ID, but this is not enforced, and formatted + differently. Developers can generate a new ID for this purpose with systemd-id128 new. diff --git a/src/systemd/sd-messages.h b/src/systemd/sd-messages.h index 2f0e8966abc..ba6c6b1cf88 100644 --- a/src/systemd/sd-messages.h +++ b/src/systemd/sd-messages.h @@ -23,12 +23,10 @@ _SD_BEGIN_DECLARATIONS; -/* Hey! If you add a new message here, you *must* also update the - * message catalog with an appropriate explanation */ +/* Hey! If you add a new message here, you *must* also update the message catalog with an appropriate explanation */ -/* And if you add a new ID here, make sure to generate a random one - * with journalctl --new-id128. Do not use any other IDs, and do not - * count them up manually. */ +/* And if you add a new ID here, make sure to generate a random one with "systemd-id128 new". Do not use any other IDs, + * and do not count them up manually. */ #define SD_MESSAGE_JOURNAL_START SD_ID128_MAKE(f7,73,79,a8,49,0b,40,8b,be,5f,69,40,50,5a,77,7b) #define SD_MESSAGE_JOURNAL_START_STR SD_ID128_MAKE_STR(f7,73,79,a8,49,0b,40,8b,be,5f,69,40,50,5a,77,7b)