From bbb0b3b548e8cf3a7ab59d8ee388f666b4a0d2cc Mon Sep 17 00:00:00 2001 From: Mileter <90982151+Mileter@users.noreply.github.com> Date: Wed, 26 Jun 2024 23:19:17 -0800 Subject: [PATCH] New help menu > Ahh, NOW UNLOCKED! --- main.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index f5918fc..1ac0c9f 100644 --- a/main.cpp +++ b/main.cpp @@ -12,7 +12,12 @@ using namespace std; void printHelp() { cout << "USAGE:\n" - << ""; + << "formatter [options] <...>\n\n" + << " --help\n" + << " ^ Displays this message.\n\n" + << " auto-newline [input filename] [output filename] [maximun column legnth]\n" + << " ana (^ Same as above.)\n" + << " reformats to have specified column legnths (specified in maximun column legnth.)"; } void autoNewline(string fileIn, string fileOut, int maxKerning)