From 54aa50779f39311294d980f8fbc5367d30d5d96f Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Fri, 24 Dec 2021 01:25:33 +0400 Subject: [PATCH] Fixed KWh to be as it should be -- kWh. Another retarded moment fixed. :) --- README.md | 4 ++-- src/main.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f2ebbd0..f767fa3 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ $ kwh-calc [OPTIONS] price wattage interval [interval ..] Options are -v, --version to show program's version; and -h, --help to show usage of a program. -`price` is a price per KWh. `wattage` is how many Watts being consumed. `interval` is for how long. +`price` is a price per kWh. `wattage` is how many Watts being consumed. `interval` is for how long. `interval` is in seconds, but you can specify a unit. Units are the following: `m` for minutes; `h` for hours; and `d` for days. There could be as many `interval`s passed as you need. @@ -21,7 +21,7 @@ Here is an example: $ kwh-calc 3.68 120 30d 2h ``` -P.S.: Yeah, I pay 3.68 rubles per KWh. Which is just $0.05. :) +P.S.: Yeah, I pay 3.68 rubles per kWh. Which is just $0.05. :) ## Installation diff --git a/src/main.c b/src/main.c index dc476ed..0af3e68 100644 --- a/src/main.c +++ b/src/main.c @@ -90,7 +90,7 @@ void print_usage() { " --help, -h Display this usage information.\n" " --version, -v Display program version.\n" "Arguments:\n" - " price Price per KWh.\n" + " price Price per kWh.\n" " wattage Specify power usage in Watts.\n" " interval Time interval in seconds total cost to be calculated for.\n" " You may specify other time units such as:\n"