util-linux/misc-utils
Michal Schmidt b632f55c29 logger: improve logger --journald man page example
The example use of logger --journald in the man page has a couple of flaws:
 - It's missing a "MESSAGE=" field. This is supposed to be the primary
   human readable text. Without it the log entry is invisible in a
   plain "journalctl" output.
 - The MESSAGE_ID is supposed to be a 128-bit hexadecimal string that
   globally uniquely identifies the message type.
   One can generate such an id with "journalctl --new-id".

This patches fixes the above and also changes the example to use a
here-document instead of printf. In my opinion it makes the expected
multi-line data format more obvious.

Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
2015-09-07 08:54:15 +02:00
..
.gitignore chkdupexe: remove, deprecated for years 2013-03-14 13:34:11 +01:00
Makemodule.am logger: add -DTEST_LOGGER 2015-03-16 14:01:53 +01:00
blkid.8 blkid: another hint to the man page 2015-05-21 13:13:49 +02:00
blkid.c blkid: don't ignore info about partitions on non-formated devices 2015-05-21 12:14:55 +02:00
cal.1 cal: correct the man page: the reformation eliminated eleven days, not ten 2015-06-25 11:56:59 +02:00
cal.c cal: check biggest week number correctly when highlighting 2015-08-31 10:15:12 +02:00
findfs.8 docs: remove obsolete and unneeded comments from man-page files 2015-01-12 11:03:26 +01:00
findfs.c textual: add a docstring to most of the utilities 2015-01-06 11:27:38 +01:00
findmnt.8 Fix typos in --target 2015-08-14 09:37:07 -04:00
findmnt.c findmnt: add --json 2015-06-05 09:47:59 +02:00
getopt-parse.bash getopt: use $(...) command substitution in example script [shellcheck] 2015-06-29 12:06:12 +02:00
getopt-parse.tcsh build-sys: move getopt to misc-utils/ 2012-06-26 20:48:23 +02:00
getopt.1 docs: don't use bold or italics for "[option]" in synopsis of man pages 2014-12-19 09:57:23 +01:00
getopt.c textual: add a docstring to most of the utilities 2015-01-06 11:27:38 +01:00
kill.1 kill: Add verbose to man page. 2015-07-03 09:11:04 +05:30
kill.c textual: add a docstring to most of the utilities 2015-01-06 11:27:38 +01:00
logger.1 logger: improve logger --journald man page example 2015-09-07 08:54:15 +02:00
logger.c logger: improve readability [smatch scan] 2015-08-05 13:23:34 +02:00
look.1 docs: fix-up man-pages flaged by checkmans.sh 2015-01-13 11:43:46 -05:00
look.c look: remove dead code 2015-01-07 21:57:53 +00:00
lsblk.8 lsblk: add --json 2015-06-04 15:49:52 +02:00
lsblk.c lsblk: fix resource leak [coverity scan] 2015-08-31 10:09:45 +02:00
lslocks.8 lslocks: add --json 2015-06-05 10:45:15 +02:00
lslocks.c lslocks: slice up the recently modified usage text 2015-08-03 11:18:59 +02:00
mcookie.1 docs: adjust some formatting and wordings in a handful of man pages 2014-12-19 09:57:25 +01:00
mcookie.c mcookie: fix -f usage [clang analyze] 2015-07-29 14:59:56 +02:00
namei.1 docs: remove obsolete and unneeded comments from man-page files 2015-01-12 11:03:26 +01:00
namei.c textual: grammarize and harmonize the stat error message 2015-02-02 11:27:10 +01:00
rename.1 docs: adjust some formatting and wordings in a handful of man pages 2014-12-19 09:57:25 +01:00
rename.c rename: allow full-path renames 2015-06-25 12:01:36 +02:00
uuidd.8.in docs: sort the options in the man pages of hwclock and uuidd 2014-07-29 12:14:56 +02:00
uuidd.c textual: add a docstring to most of the utilities 2015-01-06 11:27:38 +01:00
uuidd.rc.in uuidd: Fixed a typo in daemon logging message 2014-11-18 14:14:47 +01:00
uuidd.service.in uuidd: remove timeout from systemd service file 2014-04-29 10:37:26 +02:00
uuidd.socket.in build-sys: add missing files 2012-07-11 18:00:09 +02:00
uuidgen.1 docs: remove obsolete and unneeded comments from man-page files 2015-01-12 11:03:26 +01:00
uuidgen.c textual: add a docstring to most of the utilities 2015-01-06 11:27:38 +01:00
whereis.1 whereis: trivial spelling and grammar fix 2015-04-07 10:44:50 +02:00
whereis.c libblkid/whereis: simplify some conditions [cppcheck] 2015-06-25 12:08:50 +02:00
wipefs.8 docs: remove obsolete and unneeded comments from man-page files 2015-01-12 11:03:26 +01:00
wipefs.c wipefs: fix FD leak on error [coverity scan] 2015-01-29 12:42:58 +01:00