From 4b4e64500a08048edff7c609428abb5fa237762b Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Fri, 26 Apr 2024 04:35:58 +0400 Subject: [PATCH] Updated a README.md. --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7520837..362a9fb 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Options are `-v, --version` to show program's version; and `-h, --help` to show `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. +`m|M` for minutes; `h|H` for hours; and `d|D` for days. There could be as many `interval`s passed as you need. Here is an example: @@ -27,10 +27,10 @@ Will give 348.29. ### Manually -First run `make` to build a program, and then `make install` to copy executable in `/usr/bin/`. Later, use `make uninstall` to delete it, or just delete `/usr/bin/kwh-cost`. +First run `make` to build a program, and then `make install` to copy executable in `/usr/local/bin/`. Later, use `make uninstall` to delete it, or just delete `/usr/local/bin/kwh-cost`. + +A `LICENSE` file is also being copied to `/usr/local/share/licenses/kwh-cost/LICENSE`. ### For ArchLinux You can take a [PKGBUILD](/Arav/kwh-cost/raw/branch/master/PKGBUILD) file and in a directory with it run `makepkg -i`. - -If you want to use a pre-built package for Arch from Releases, then install it using `pacman -U` command.