1.modify the usage info

2.update the context tool to provide an example in help info

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1484 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
jjin9 2006-09-06 09:32:32 +00:00
parent b411fc1f31
commit 91f560c1c9
1 changed files with 5 additions and 1 deletions

View File

@ -28,6 +28,8 @@ public class HelpInfo {
for (int i = 0; i < 6; i++) {
outputSubUsageInfo(UsageString[i], UsageStringInfo[i]);
}
System.out.printf("\n%s", ExampleString);
}
/**
@ -86,9 +88,11 @@ public class HelpInfo {
private static final int MaxSrtingLength = 40;
private static final String UsageInfoString = "Usage: context [-option1] [args] [-option2] [args] ...";
private static final String UsageInfoString = "Usage: ContextTool [-option1] [args] [-option2] [args] ...";
private static final String DetailOfOptionString = "Where options include:";
private static final String ExampleString = "Example: ContextTool -a IA32 IA64 EBC -c Tools/Conf/tools_def.txt -t DEBUG";
private static final String HString = "-h";