From: lgao4 Date: Thu, 10 Apr 2008 04:05:44 +0000 (+0000) Subject: Add more usage description for -r option in order to avoid confuse. X-Git-Url: http://git.etherboot.org/people/mcb30/basetools.git/commitdiff_plain/fbc9768eb22ed8896f605e9290eaa4441ea61c63?ds=sidebyside Add more usage description for -r option in order to avoid confuse. git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1137 7335b38e-4728-0410-8992-fb3ffe349368 --- diff --git a/Source/C/GenFw/GenFw.c b/Source/C/GenFw/GenFw.c index e29fcb2..463bad7 100644 --- a/Source/C/GenFw/GenFw.c +++ b/Source/C/GenFw/GenFw.c @@ -1282,7 +1282,10 @@ Returns: VerboseMsg ("%s tool start.", UTILITY_NAME); if (OutImageType == FW_DUMMY_IMAGE) { - Error (NULL, 0, 1001, "Missing option", "No create action specified; specify -e, -c or -t!"); + Error (NULL, 0, 1001, "Missing option", "No create file action specified; pls specify -e, -c or -t option to create efi image, or acpi table or TeImage!"); + if (ReplaceFlag) { + Error (NULL, 0, 1001, "Missing option", "-r option is not supported as the independent option. It can be used together with other create file option specified at the above."); + } goto Finish; }