ParseCommandLine() public method

Parse the command-line arguments
public ParseCommandLine ( string args ) : bool
args string Command-line arguments
return bool
Example #1
0
 private static Options ParseCommandLine(string[] args)
 {
     Options options = new Options();
     if(!options.ParseCommandLine(args))
         return null;
     return options;
 }
Example #2
0
        private static Options ParseCommandLine(string[] args)
        {
            Options options = new Options();

            if (!options.ParseCommandLine(args))
            {
                return(null);
            }
            return(options);
        }