]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg CapsuleApp: Index need be decimal for -P GET option
authorStar Zeng <star.zeng@intel.com>
Thu, 26 Jul 2018 01:58:00 +0000 (09:58 +0800)
committerStar Zeng <star.zeng@intel.com>
Fri, 27 Jul 2018 08:04:15 +0000 (16:04 +0800)
Also adjust the help information to be not too long to be suitable
for different display resolutions.

Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
MdeModulePkg/Application/CapsuleApp/CapsuleApp.c

index 3a87439f104eb8958772778b3f1d566bb6b628db..93bf4252bac6db97e0f60734e28544d753c7ca3b 100644 (file)
@@ -768,14 +768,16 @@ PrintUsage (
   Print(L"  CapsuleApp -D <Capsule>\n");\r
   Print(L"  CapsuleApp -P GET <ImageTypeId> <Index> -O <FileName>\n");\r
   Print(L"Parameter:\n");\r
-  Print(L"  -NR: No reset will be triggered for the capsule\n");\r
-  Print(L"       with CAPSULE_FLAGS_PERSIST_ACROSS_RESET and without CAPSULE_FLAGS_INITIATE_RESET.\n");\r
+  Print(L"  -NR: No reset will be triggered for the capsule with\n");\r
+  Print(L"       CAPSULE_FLAGS_PERSIST_ACROSS_RESET and without\n");\r
+  Print(L"       CAPSULE_FLAGS_INITIATE_RESET.\n");\r
   Print(L"  -S:  Dump capsule report variable (EFI_CAPSULE_REPORT_GUID),\n");\r
   Print(L"       which is defined in UEFI specification.\n");\r
   Print(L"  -C:  Clear capsule report variable (EFI_CAPSULE_REPORT_GUID),\n");\r
   Print(L"       which is defined in UEFI specification.\n");\r
   Print(L"  -P:  Dump UEFI FMP protocol info, or get image with specified\n");\r
-  Print(L"       ImageTypeId and index to a file if 'GET' option is used.\n");\r
+  Print(L"       ImageTypeId and Index (decimal format) to a file if 'GET'\n");\r
+  Print(L"       option is used.\n");\r
   Print(L"  -E:  Dump UEFI ESRT table info.\n");\r
   Print(L"  -G:  Convert a BMP file to be an UX capsule,\n");\r
   Print(L"       according to Windows Firmware Update document\n");\r
@@ -783,8 +785,9 @@ PrintUsage (
   Print(L"       with its ImageTypeId supported by the system,\n");\r
   Print(L"       according to Windows Firmware Update document\n");\r
   Print(L"  -O:  Output new Capsule file name\n");\r
-  Print(L"  -D:  Dump Capsule image header information, image payload information if it is an UX capsule\n");\r
-  Print(L"       and FMP header information if it is a FMP capsule.\n");\r
+  Print(L"  -D:  Dump Capsule image header information, image payload\n");\r
+  Print(L"       information if it is an UX capsule and FMP header\n");\r
+  Print(L"       information if it is a FMP capsule.\n");\r
 }\r
 \r
 /**\r