Skip to content

Commit

Permalink
feature: update usage x2
Browse files Browse the repository at this point in the history
  • Loading branch information
park671 committed Oct 10, 2024
1 parent 05119db commit f6d1103
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ static void usage(int exitcode) {
version();
fprintf(exitcode ? stderr : stdout,
"Usage: pcc -[options] <file>\n\n"
" -o <filename> \toutput file path\n"
" -O<number> \toptimization level\n"
" -S \tcompile to assembly (no binary)\n"
" -a <target-arch> \ttarget cpu inst (arm64, x86_64)\n"
" -p <target-platform> \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 <filename> \toutput file path\n"
"\t-O<number> \toptimization level\n"
"\t-S \tcompile to assembly (no binary)\n"
"\t-a <target-arch> \ttarget cpu inst (arm64, x86_64)\n"
"\t-p <target-platform> \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);
}
Expand Down

0 comments on commit f6d1103

Please sign in to comment.