Skip to content

Commit 7eac82c

Browse files
committed
refactor(args.py): add --stratum parameter
1 parent b688b74 commit 7eac82c

5 files changed

Lines changed: 1252 additions & 1097 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/)
2222

2323
### Changed ("refactor", "chore" etc.)
2424

25+
* args.py: add `--stratum` parameter
2526
* args.py: add `--verbose` parameter
2627
* dmidecode.py: collapse near-duplicate data in an admin-friendly way
2728

args.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"""
1313

1414
__author__ = 'Linuxfabrik GmbH, Zurich/Switzerland'
15-
__version__ = '2025090901'
15+
__version__ = '2025091501'
1616

1717

1818
HELP_TEXTS = {
@@ -25,6 +25,13 @@
2525
'`(?: ... )*` is a non-capturing group that matches any sequence of characters '
2626
'that satisfy the condition inside it, zero or more times.'
2727
),
28+
'--stratum': (
29+
'Warns if the determined stratum of the time server is greater than or equal to this '
30+
'value. '
31+
'Stratum 1 indicates a computer with a locally attached reference clock. A computer that '
32+
'is synchronised to a stratum 1 computer is at stratum 2. A computer that is synchronised '
33+
'to a stratum 2 computer is at stratum 3, and so on.'
34+
),
2835
'--verbose': (
2936
'Makes this plugin verbose during the operation. Useful for debugging and seeing '
3037
'what\'s going on under the hood.'

0 commit comments

Comments
 (0)