diff options
| author | jstmaxlol <87650746+jstmaxlol@users.noreply.github.com> | 2025-06-17 10:23:10 +0200 |
|---|---|---|
| committer | jstmaxlol <87650746+jstmaxlol@users.noreply.github.com> | 2025-06-17 10:23:10 +0200 |
| commit | 7abd762e4989307e6a39c6b00db2c2f0fdffa3db (patch) | |
| tree | 29d73b97e4c3bb52a77d52b12245a790d1db5ae2 | |
| parent | 8da1508bd1461418dfc817e4adfcd090adb7a8b3 (diff) | |
add todo & a fix to a prompt
| -rw-r--r-- | xsc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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" |