Author: fireball
Date: Tue Jan 5 17:18:35 2010
New Revision: 44946
URL:
http://svn.reactos.org/svn/reactos?rev=44946&view=rev
Log:
Marcus Boillat <ka6602-280(a)online.de>
- ipconfig should also parse parameters starting with "-" (undocumented feature,
tested on Windows XP, Vista and Windows 7).
See issue #5067 for more details.
Modified:
trunk/reactos/base/applications/network/ipconfig/ipconfig.c
Modified: trunk/reactos/base/applications/network/ipconfig/ipconfig.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/network/…
==============================================================================
--- trunk/reactos/base/applications/network/ipconfig/ipconfig.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/network/ipconfig/ipconfig.c [iso-8859-1] Tue Jan 5
17:18:35 2010
@@ -693,7 +693,7 @@
ProcessHeap = GetProcessHeap();
/* Parse command line for options we have been given. */
- if ( (argc > 1)&&(argv[1][0]=='/') )
+ if ( (argc > 1)&&(argv[1][0]=='/' || argv[1][0]=='-') )
{
if( !_tcsicmp( &argv[1][1], _T("?") ))
{