From 7abd762e4989307e6a39c6b00db2c2f0fdffa3db Mon Sep 17 00:00:00 2001 From: jstmaxlol <87650746+jstmaxlol@users.noreply.github.com> Date: Tue, 17 Jun 2025 10:23:10 +0200 Subject: add todo & a fix to a prompt --- xsc.cpp | 4 ++-- 1 file 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" -- cgit v1.3.1