all: add format strings

This commit is contained in:
2018-12-20 10:55:42 +01:00
parent d0469fd04b
commit 0b2774533f
2 changed files with 36 additions and 12 deletions

View File

@@ -14,13 +14,15 @@ If you still want to, `make install` will install this utility to
## Usage
```
Usage: bin/n [options]
Usage: n [options]
Options:
-h HOST, --host=HOST NTP server to use
-h HOST, --host=HOST NTP server to use
defaults to 'europe.pool.ntp.org'
-p PORT, --port=PORT NTP server port to use (must be numerical)
-p PORT, --port=PORT NTP server port to use (must be numerical)
defaults to '123'
--help Display this message and exit
-f FORMAT, --format=FORMAT Date format string (passed to strftime)
defaults to standard of ctime
--help Display this message and exit
```
<hr/>