File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
XmlSchemaClassGenerator.Console Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ class Program
1616 {
1717 static void Main ( string [ ] args )
1818 {
19- var showHelp = false ;
19+ var showHelp = args . Length == 0 ;
2020 var namespaces = new List < string > ( ) ;
2121 var outputFolder = "" ;
2222 var integerType = typeof ( string ) ;
@@ -135,10 +135,10 @@ A file name may be given by appending a pipe sign (|) followed by a file name (l
135135
136136 static KeyValuePair < NamespaceKey , string > ParseNamespace ( string nsArg , string namespacePrefix )
137137 {
138- var parts = nsArg . Split ( new [ ] { '=' } , 2 ) ;
138+ var parts = nsArg . Split ( new [ ] { '=' } , 2 ) ;
139139 var xmlNs = parts [ 0 ] ;
140140 var netNs = parts [ 1 ] ;
141- var parts2 = xmlNs . Split ( new [ ] { '|' } , 2 ) ;
141+ var parts2 = xmlNs . Split ( new [ ] { '|' } , 2 ) ;
142142 var source = parts2 . Length == 2 ? new Uri ( parts2 [ 1 ] , UriKind . RelativeOrAbsolute ) : null ;
143143 xmlNs = parts2 [ 0 ] ;
144144 if ( ! string . IsNullOrEmpty ( namespacePrefix ) )
You can’t perform that action at this time.
0 commit comments