Set right %ERRORLEVEL% value, fixing end of line for /?  after implement of page break.
Modified: trunk/reactos/subsys/system/cmd/En.rc
Modified: trunk/reactos/subsys/system/cmd/label.c

Modified: trunk/reactos/subsys/system/cmd/En.rc
--- trunk/reactos/subsys/system/cmd/En.rc	2005-07-07 22:23:26 UTC (rev 16499)
+++ trunk/reactos/subsys/system/cmd/En.rc	2005-07-07 22:27:30 UTC (rev 16500)
@@ -276,7 +276,7 @@
   label  Specifies a text string used in a batch script as a label.\n\n\
 You type a label on a line by itself, beginning with a colon."
 
-STRING_LABEL_HELP1, "Displays or changes drive label.\n\nLABEL [drive:][label]"
+STRING_LABEL_HELP1, "Displays or changes drive label.\n\nLABEL [drive:][label]\n"
 
 STRING_LABEL_HELP2, "Volume in drive %c: is %s\n"
 STRING_LABEL_HELP3, "Volume in drive %c: has no label\n"

Modified: trunk/reactos/subsys/system/cmd/label.c
--- trunk/reactos/subsys/system/cmd/label.c	2005-07-07 22:23:26 UTC (rev 16499)
+++ trunk/reactos/subsys/system/cmd/label.c	2005-07-07 22:27:30 UTC (rev 16500)
@@ -43,6 +43,8 @@
 		return 0;
 	}
 
+  nErrorLevel = 0;
+
 	/* get parameters */
 	arg = split (param, &args, FALSE);
 
@@ -51,6 +53,7 @@
 		/* too many parameters */
 		error_too_many_parameters (arg[args - 1]);
 		freep (arg);
+    nErrorLevel = 1;
 		return 1;
 	}
 
@@ -83,6 +86,7 @@
 	{
 		error_invalid_drive ();
 		freep (arg);
+    nErrorLevel = 1;
 		return 1;
 	}