Argument order irrelevant/ sensor parsing improved

- -s/ --sensor first does not ignore following -c/ -w anymore
- current sensor's multiline output without adapter and temperatur in 2nd line
This commit is contained in:
onkobu
2020-12-12 13:41:10 +01:00
parent c60b88813a
commit b504956f4f
2 changed files with 11 additions and 4 deletions

View File

@@ -34,3 +34,8 @@ Version 1.0:
- Enriched performance data output. For example, "CPU=34;40;55 MB=32;40;55"
- Changed (and improved) the way temperatures are retrieved
- Other fixes and touch-ups, such as the help text now shows long options
Version 1.1:
Improvements for Icinga 2, made by Onkobu
- order of arguments is irrelevant now, --sensor first ignored following -c & -w
- current sensors' multiline output needs sophisticated treatment