private static int ParseArguments(string[] args) { if (!CommandLineUtil.ParseArg(args, "d", out directories)) { ShowError("Missing the directories parameter (-d)"); return(7); } if (!CommandLineUtil.ParseArg(args, "f", out filemask)) { filemask = "*.*"; } return(0); }