From fbc9768eb22ed8896f605e9290eaa4441ea61c63 Mon Sep 17 00:00:00 2001 From: lgao4 Date: Thu, 10 Apr 2008 04:05:44 +0000 Subject: [PATCH] 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 --- Source/C/GenFw/GenFw.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; } -- 2.17.1