Fixed KWh to be as it should be -- kWh. Another retarded moment fixed. :)

This commit is contained in:
Alexander Andreev 2021-12-24 01:25:33 +04:00
parent 24d19fa6ee
commit 54aa50779f
Signed by: Arav
GPG Key ID: 1327FE8A374CC86F
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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"