Added copyright and warranty options to help information.

This commit is contained in:
Nicolás A. Ortega 2014-04-09 17:25:00 -05:00
parent 30d9e1189c
commit ed3960329d

View File

@ -30,6 +30,8 @@ public class MMMCalc {
" MMMCalc [options] [variables]\n\n" + " MMMCalc [options] [variables]\n\n" +
"Options:\n" + "Options:\n" +
" -v | -V -- Be verbose (show the work).\n" + " -v | -V -- Be verbose (show the work).\n" +
" -w -- Show warranty information.\n" +
" -c -- Show copyright information.\n" +
" -h -- Show this help information.\n"); " -h -- Show this help information.\n");
} else if(args[0].equals("-w")) { } else if(args[0].equals("-w")) {
System.out.println("THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\n" + System.out.println("THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\n" +