b457c60f75
[main.c] Structure arguments_t removed. Use ptrs to vars instead. parse_arguments
now returns status codes instead of printing stuff and closing program.
...
`to_wattpersecond` is now `to_wattspersecond`.
Fixed typo in usage, capitalised `options` word. Rephrased `print_version` text.
Removed unnecessary check from `interval_to_seconds` (former `to_seconds`) function.
2021-12-25 23:27:53 +04:00
1799c62c48
[Makefile] Added .PHONY. Removed object compilation. This project won't get extra .c files anyway, so let's compile directly into executable.
2021-12-25 23:22:32 +04:00
1abcf3d4cc
Updated README.
2021-12-25 00:08:45 +04:00
e61890310f
kwh-calc renamed to more suitable name kwh-cost.
2021-12-24 23:54:31 +04:00
25311a3b7e
Final fix. Let's set DESTDIR to / root by default. You can always change it with running make DESTDIR=your/path un/install.
2021-12-24 02:37:36 +04:00
5ab493e7cc
Replaced printf in print_version() and print_usage() with puts.
2021-12-24 01:45:13 +04:00
eeafa1c269
+NIGGER is not needed here.
2021-12-24 01:39:23 +04:00
8b301c7038
All this text was replaced by just an info on where to look for a license.
2021-12-24 01:37:34 +04:00
14262cd3c5
.vscode dir added to .gitignore.
2021-12-24 01:37:04 +04:00
1681902262
Let's copy a LICENSE file as it is mandatory by MIT license.
2021-12-24 01:36:29 +04:00
54aa50779f
Fixed KWh to be as it should be -- kWh. Another retarded moment fixed. :)
2021-12-24 01:25:33 +04:00
24d19fa6ee
Added newlines at the end of source files to be compatible with clang.
2021-12-24 01:01:43 +04:00
7306fd422b
Removed CC, since it is default anyway.
2021-12-24 01:01:13 +04:00
861cec3d9a
Am I retarded? I am retarded... :) Fixed makepkg -i command in README.md.
2021-12-24 00:57:01 +04:00
e8280301ae
Another, hopefully, final, fix of a link.
2021-12-24 00:50:35 +04:00
b3661fd806
Fixed a link in README.
2021-12-24 00:49:24 +04:00
6d5fa15604
Updated README.
2021-12-24 00:47:55 +04:00
46abb111d8
Last fix for PKGBUILD.
2021-12-24 00:26:18 +04:00
6d58dc3813
Removed debug printf.
2021-12-24 00:25:51 +04:00
124073b688
Still trying to make it work.
2021-12-24 00:12:51 +04:00
bc77af94c8
Makefile typo fix.
2021-12-24 00:07:39 +04:00
39441e0b31
Trying to make PKGBUILD work.
2021-12-24 00:06:54 +04:00
f225af0bb1
Fixed a typo in PKGBUILD.
2021-12-24 00:04:22 +04:00
c55f63b79a
Included skipping of md5sum check.
2021-12-24 00:00:50 +04:00
7d03901e24
Source files.
2021-12-23 23:59:00 +04:00
a80cc83275
Archlinux's PKGBUILD.
2021-12-23 23:58:52 +04:00
5edcbf9fa0
Makefile
2021-12-23 23:58:23 +04:00
1a6312d3f6
[.gitignore] reduced.
2021-12-23 23:58:14 +04:00
1be1781fa3
LICENSE update.
2021-12-23 23:57:35 +04:00
b6c2f1c1d5
Initial commit
2021-12-23 18:49:41 +04:00