Skip to content

Commit

Permalink
docs: update explanation for -f
Browse files Browse the repository at this point in the history
  • Loading branch information
narugit committed Aug 18, 2024
1 parent a810310 commit 45b5d94
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Usage:
-g : list GPU temperatures (Celsius)
-h : help
-l : list all keys and values
-f : fail-soft mode to store recent valid sensor value
-f : fail-soft mode. Shows last valid value if current sensor read fails.
-v : version
-n : tries to query the temperature sensors for n times (e.g. -n3) (1 second interval) until a valid value is returned

Expand Down
2 changes: 1 addition & 1 deletion main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ void usage(char* prog) {
std::cout << " -g : list GPU temperatures (Celsius)" << std::endl;
std::cout << " -h : help" << std::endl;
std::cout << " -l : list all keys and values" << std::endl;
std::cout << " -f : fail-soft mode to store recent valid sensor value" << std::endl;
std::cout << " -f : fail-soft mode. Shows last valid value if current sensor read fails." << std::endl;
std::cout << " -v : version" << std::endl;
std::cout << " -n : tries to query the temperature sensors for n times (e.g. -n3)";
std::cout << " (1 second interval) until a valid value is returned" << std::endl;
Expand Down

0 comments on commit 45b5d94

Please # to comment.