diff --git a/qb64.1 b/qb64.1 new file mode 100644 index 000000000..a83bc828e --- /dev/null +++ b/qb64.1 @@ -0,0 +1,44 @@ +.TH qb64 "1" "November 2018" "QB64 IDE AND COMPILER" "User Commands" +.SH NAME +qb64 \- manual page for QB64 +.SH DESCRIPTION +QB64 COMPILER +.PP +USAGE: qb64 [switches] +.SS "OPTIONS:" +.TP + +Source file to load +.TP +\fB\-v\fR +Verbose mode (detailed warnings) +.TP +\fB\-c\fR +Compile instead of edit +.TP +\fB\-x\fR +Compile instead of edit and output the result to the +console +.TP +\fB\-p\fR +Purge all pre\-compiled content first +.TP +\fB\-z\fR +Generate C code without compiling to executable +.TP +\fB\-o\fR +Write output executable to +.TP +\fB\-e\fR +Enables OPTION _EXPLICIT, making variable declaration +mandatory (per\-compilation; doesn't affect the +source file or global settings) +.TP +\fB\-s[\fR:switch=true/false] +View/edit compiler settings +.TP +\fB\-l\fR: +Starts the IDE at the specified line number +.PP +.SH "INTERNET" +.B https://qb64.org/ diff --git a/source/qb64.bas b/source/qb64.bas index a0dbeb40c..ba0cc4961 100644 --- a/source/qb64.bas +++ b/source/qb64.bas @@ -12945,7 +12945,7 @@ FUNCTION ParseCMDLineArgs$ () _DEST _CONSOLE PRINT "QB64 COMPILER V" + Version$ PRINT - PRINT "USAGE: qb64 [switches] " + PRINT "USAGE: qb64 [switches] " PRINT PRINT "OPTIONS:" PRINT " Source file to load" ' '80 columns @@ -12955,7 +12955,7 @@ FUNCTION ParseCMDLineArgs$ () PRINT " console" PRINT " -p Purge all pre-compiled content first" PRINT " -z Generate C code without compiling to executable" - PRINT " -o Write output executable to " + PRINT " -o Write output executable to " PRINT " -e Enables OPTION _EXPLICIT, making variable declaration" PRINT " mandatory (per-compilation; doesn't affect the" PRINT " source file or global settings)"