From f6d1103d2816688ced022615ead92ad9e51c9ba2 Mon Sep 17 00:00:00 2001 From: park671 Date: Thu, 10 Oct 2024 21:17:48 +0800 Subject: [PATCH] feature: update usage x2 --- main.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/main.cpp b/main.cpp index de2a74d..3d60b48 100644 --- a/main.cpp +++ b/main.cpp @@ -34,15 +34,15 @@ static void usage(int exitcode) { version(); fprintf(exitcode ? stderr : stdout, "Usage: pcc -[options] \n\n" + " -o \toutput file path\n" + " -O \toptimization level\n" + " -S \tcompile to assembly (no binary)\n" + " -a \ttarget cpu inst (arm64, x86_64)\n" + " -p \ttarget os platform (linux, macos, windows, bare)\n" + " -shared \twrapper as shared lib\n" + " -fpic \tposition independent code\n" + " -h \tprint this help\n" "\n" - "\t-o \toutput file path\n" - "\t-O \toptimization level\n" - "\t-S \tcompile to assembly (no binary)\n" - "\t-a \ttarget cpu inst (arm64, x86_64)\n" - "\t-p \ttarget os platform (linux, macos, windows, bare)\n" - "\t-shared \twrapper as shared lib\n" - "\t-fpic \tposition independent code\n" - "\t-h \tprint this help\n" ); exit(exitcode); }