summaryrefslogtreecommitdiff
path: root/xsc.cpp
diff options
context:
space:
mode:
authorjstmaxlol <87650746+jstmaxlol@users.noreply.github.com>2025-06-17 10:23:10 +0200
committerjstmaxlol <87650746+jstmaxlol@users.noreply.github.com>2025-06-17 10:23:10 +0200
commit7abd762e4989307e6a39c6b00db2c2f0fdffa3db (patch)
tree29d73b97e4c3bb52a77d52b12245a790d1db5ae2 /xsc.cpp
parent8da1508bd1461418dfc817e4adfcd090adb7a8b3 (diff)
add todo & a fix to a prompt
Diffstat (limited to 'xsc.cpp')
-rw-r--r--xsc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xsc.cpp b/xsc.cpp
index c8afad4..076dfad 100644
--- a/xsc.cpp
+++ b/xsc.cpp
@@ -27,7 +27,7 @@ int main(int argc, char** argv) {
}
if (arg1 == "--help" || arg1 == "-h") {
std::cerr << "::> " << red << "xsc.Warning" << def << "/" << red << "non_existing_argument\n"
- << def << "::> did you mean: " << yellow << "h " << def << "||" << yellow << "help" << def << "?\n";
+ << def << "::> did you mean: " << yellow << "h " << def << " ||" << yellow << "help" << def << "?\n";
usage();
return -1;
}
@@ -101,7 +101,7 @@ int calculate(double& n1, char& op, double& n2) {
void usage() {
// Prints usage message (help)
- system("figlet XSC | lolcat");
+ system("figlet XSC | lolcat"); // TODO: fallback if figlet & lolcat are not installed (not needed for aur users, so is it useful?)
std::cout
<< "[ eXtremelySimpleCalculator usage screen ]\n\n"