Fixed KWh to be as it should be -- kWh. Another retarded moment fixed. :)
This commit is contained in:
parent
24d19fa6ee
commit
54aa50779f
@ -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
|
||||
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user