Added copyright and warranty options to help information.
This commit is contained in:
parent
30d9e1189c
commit
ed3960329d
@ -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" +
|
||||||
|
Loading…
Reference in New Issue
Block a user