]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
date.1: Fix some style issues and examples
authorMateusz Piotrowski <0mp@FreeBSD.org>
Wed, 3 Nov 2021 10:26:46 +0000 (11:26 +0100)
committerMateusz Piotrowski <0mp@FreeBSD.org>
Sun, 7 Nov 2021 17:54:59 +0000 (18:54 +0100)
commit5bee300aefb1f9d3ec9a5cd2150b1b5c7374f3ae
treeae50e3a7870005252b1669d0eec68aaa3f5df19e
parent513348e821c3ddc3c1f51c3928954fa469d0cfbc
date.1: Fix some style issues and examples

- Use Cm instead of Ar or Sq for command modifiers of the -v flag.
- Remove unnecessary "Ar ..." from the synopsis. It's not clear what it
  was referring to.
- Add missing arguments to the -f and -v flags.
- Stylize the dot before "ss" with Cm in the default format in the -f
  flag description.
- Set LC_ALL=C in the last example so that the output format of
  date(1) always matches the specified format of the -f flag not matter
  the locale.
- List the -f flag as optional in all usage lines in the synopsis.

MFC after: 3 days

(cherry picked from commit 00133d5c5e6aae01663eca40993abd5e6137425b)
bin/date/date.1