diff options
author | Frantisek Sumsal <frantisek@sumsal.cz> | 2022-02-21 13:14:18 +0100 |
---|---|---|
committer | Frantisek Sumsal <frantisek@sumsal.cz> | 2022-02-21 13:22:02 +0100 |
commit | b58b4a9f379748fec667fb60606de945eaafadbe (patch) | |
tree | 9b7d2281a5bfa57b27197fdf8ff1f9359352eccd | |
parent | time-util: introduce TIMESTAMP_UNIX (diff) | |
download | systemd-b58b4a9f379748fec667fb60606de945eaafadbe.tar.xz systemd-b58b4a9f379748fec667fb60606de945eaafadbe.zip |
systemctl,man: update docs for `--timestamp=`
-rw-r--r-- | man/systemctl.xml | 7 | ||||
-rw-r--r-- | src/systemctl/systemctl.c | 7 |
2 files changed, 9 insertions, 5 deletions
diff --git a/man/systemctl.xml b/man/systemctl.xml index 1c14909523..53acb083b2 100644 --- a/man/systemctl.xml +++ b/man/systemctl.xml @@ -2307,6 +2307,13 @@ Jan 12 10:46:45 example.com bluetoothd[8900]: gatt-time-server: Input/output err <variablelist> <varlistentry> + <term><option>unix</option></term> + <listitem><para><literal>@seconds-since-the-epoch</literal></para></listitem> + </varlistentry> + </variablelist> + + <variablelist> + <varlistentry> <term><option>us</option></term> <term><option>µs</option></term> <listitem><para><literal>Day YYYY-MM-DD HH:MM:SS.UUUUUU TZ</literal></para></listitem> diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index 9031e685ea..0489796a75 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemctl.c @@ -296,11 +296,8 @@ static int systemctl_help(void) { " --boot-loader-entry=NAME\n" " Boot into a specific boot loader entry on next boot\n" " --plain Print unit dependencies as a list instead of a tree\n" - " --timestamp=FORMAT Change format of printed timestamps.\n" - " 'pretty' (default): 'Day YYYY-MM-DD HH:MM:SS TZ\n" - " 'us': 'Day YYYY-MM-DD HH:MM:SS.UUUUUU TZ\n" - " 'utc': 'Day YYYY-MM-DD HH:MM:SS UTC\n" - " 'us+utc': 'Day YYYY-MM-DD HH:MM:SS.UUUUUU UTC\n" + " --timestamp=FORMAT Change format of printed timestamps (pretty, unix,\n" + " us, utc, us+utc)\n" " --read-only Create read-only bind mount\n" " --mkdir Create directory before mounting, if missing\n" " --marked Restart/reload previously marked units\n" |