[edk2] [PATCH 1/2] Shell/mkdir: Modify the help content to align to spec.

Ruiyu Ni posted 2 patches 7 years, 4 months ago
[edk2] [PATCH 1/2] Shell/mkdir: Modify the help content to align to spec.
Posted by Ruiyu Ni 7 years, 4 months ago
From: Huajing Li <huajing.li@intel.com>

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Huajing Li <huajing.li@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
---
 .../UefiShellLevel2CommandsLib.uni                        | 15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

diff --git a/ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.uni b/ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.uni
index 60f48f4633..f9c647a035 100644
--- a/ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.uni
+++ b/ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.uni
@@ -464,18 +464,15 @@
 "MKDIR dir [dir...]\r\n"
 ".SH OPTIONS\r\n"
 " \r\n"
-"  dir - Specifies the name of a directory or directories to create. (Wildcards are not\r\n"
-"        allowed) \r\n"
+"  dir - Specifies the name of a directory or directories to create.\r\n"
+"        (Wildcards are not allowed)\r\n"
 ".SH DESCRIPTION\r\n"
 " \r\n"
 "NOTES:\r\n"
-"  1. The parent directory must already exist.\r\n"
-"  2. If the directory already exists, mkdir will abort.\r\n"
-"  3. Specifying additional directory parameters dependent on previous\r\n"
-"     directory parameters is not allowed:\r\n"
-"     For example, mkdir new new\Test is not allowed.\r\n"
-"  4. Redirecting output to a file that exists under the directory specified\r\n"
-"     by this command is not allowed.\r\n"
+"  1. Mkdir can create one or more new directories.\r\n"
+"  2. If dir includes nested directories, then parent directories will be\r\n"
+"     created before child directories.\r\n"
+"  3. If the directory already exists, mkdir will exit with an error.\r\n"
 ".SH EXAMPLES\r\n"
 " \r\n"
 "EXAMPLES:\r\n"
-- 
2.12.2.windows.2

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel