Fix messages to reflect actual command line options
authorMatthew Mondor <mmondor@pulsar-zone.net>
Wed, 12 Apr 2023 08:49:32 +0000 (08:49 +0000)
committerMatthew Mondor <mmondor@pulsar-zone.net>
Wed, 12 Apr 2023 08:49:32 +0000 (08:49 +0000)
globals.c

index a7ca058..c1e6026 100644 (file)
--- a/globals.c
+++ b/globals.c
@@ -68,7 +68,7 @@ void showVersion(void)
 void showUsage(void)
 {
 
-       fprintf(stderr, "\n\nUsage: nInvaders [-l skill] [-gpl]\n");
+       fprintf(stderr, "\n\nUsage: nInvaders [-l skill] [-L]\n");
        fprintf(stderr, "   where -l 0=NIGHTMARE\n");
        fprintf(stderr, "         -l 1=okay\n");
        fprintf(stderr, "         -l 9=May I play daddy?!\n");
@@ -106,8 +106,8 @@ void showGplShort(void)
        fprintf(stderr,"along with this program; if not, write to the Free Software\n");
        fprintf(stderr,"Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\n");
        fprintf(stderr,"\n");
-       fprintf(stderr,"Use the -gpl  command line switch to see the full license of this program\n");
-       fprintf(stderr,"Use the -help command line switch to see who wrote this program \n");
+       fprintf(stderr,"Use the -L command line switch to see the full license of this program\n");
+       fprintf(stderr,"Use the -? command line switch to see who wrote this program \n");
        fprintf(stderr,"\n");
 }