diff options
| author | jstmaxlol <maxwasmailed@proton.me> | 2025-05-22 19:23:40 +0200 |
|---|---|---|
| committer | jstmaxlol <maxwasmailed@proton.me> | 2025-05-22 19:23:40 +0200 |
| commit | b50950b1e0d16b58677caa68a05b8ca6a2a45ddc (patch) | |
| tree | be31e23e235fa159b5c28e37fde6312d0c866aa1 | |
| parent | 0baa133d1850eecf8a89475c8ce2e48b4aef2137 (diff) | |
yeah ok actually just fuck me i guess
`paru -S package_name` like bro
fuck am i even doing today
(and about the xsc.cpp fix, i'm actually getting dementia or smth because wtf)
| -rw-r--r-- | README.md | 4 | ||||
| -rw-r--r-- | xsc.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -1,6 +1,6 @@ # XSC🧮 **XSC** (e**X**tremely**S**imple**C**alculator): the easiest way to calculate stuff in the terminal \ -syntax: `xsc <number> <(+|-|x|/|%|^)> <number>` or `xsc -sqrt | -r <number>` \ +syntax: `xsc <num1> <(+|-|x|/|%|^)> <num2>` or `xsc r <num>` \ pros: supports floating point number operations.. or smth \ **note**: compile with **g++** @@ -8,7 +8,7 @@ pros: supports floating point number operations.. or smth \ **XSC** is now available on the [Arch User Repository](), \ install it with your favourite AUR helper: * `yay` : `yay -S xsc` -* `paru` : `paru -S package_name` +* `paru` : `paru -S xsc` * `trizen` : `trizen -S xsc` * `pamac` : `pamac build xsc` * `aurman` : `aurman -S xsc` @@ -9,7 +9,7 @@ int calculate(double& n1, char& op, double& n2); void usage(); int main(int argc, char** argv) { - if (argc > 4) { + if (argc > 5) { std::cerr << "::> " << red << "xsc.Error" << def << "/" << red << "too_many_arguments " << def; return -1; } |