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
16
16
{
17
17
static void Main ( string [ ] args )
18
18
{
19
- var showHelp = false ;
19
+ var showHelp = args . Length == 0 ;
20
20
var namespaces = new List < string > ( ) ;
21
21
var outputFolder = "" ;
22
22
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
135
135
136
136
static KeyValuePair < NamespaceKey , string > ParseNamespace ( string nsArg , string namespacePrefix )
137
137
{
138
- var parts = nsArg . Split ( new [ ] { '=' } , 2 ) ;
138
+ var parts = nsArg . Split ( new [ ] { '=' } , 2 ) ;
139
139
var xmlNs = parts [ 0 ] ;
140
140
var netNs = parts [ 1 ] ;
141
- var parts2 = xmlNs . Split ( new [ ] { '|' } , 2 ) ;
141
+ var parts2 = xmlNs . Split ( new [ ] { '|' } , 2 ) ;
142
142
var source = parts2 . Length == 2 ? new Uri ( parts2 [ 1 ] , UriKind . RelativeOrAbsolute ) : null ;
143
143
xmlNs = parts2 [ 0 ] ;
144
144
if ( ! string . IsNullOrEmpty ( namespacePrefix ) )
You can’t perform that action at this time.
0 commit comments