Implement $V in builtin PROMPT.
This commit is contained in:
parent
435e2e63f4
commit
00f5094a57
|
@ -484,6 +484,10 @@ char *p, *q;
|
||||||
GetTimeFormat (LOCALE_USER_DEFAULT, 0, NULL, NULL, q, MAX_PATH);
|
GetTimeFormat (LOCALE_USER_DEFAULT, 0, NULL, NULL, q, MAX_PATH);
|
||||||
while (*q) q++;
|
while (*q) q++;
|
||||||
break;
|
break;
|
||||||
|
case 'V':
|
||||||
|
lstrcat (q, version_string);
|
||||||
|
while (*q) q++;
|
||||||
|
break;
|
||||||
case '_':
|
case '_':
|
||||||
*q++ = '\n';
|
*q++ = '\n';
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue