Пример #1
0
        // Validates that a single comman line argument exists and its path is valid
        private static bool ValidateArguments(string[] arguments)
        {
            if (arguments.Length == 1)
            {
                return(CommonTools.CheckFilePathExists(arguments[0]));
            }

            CommonTools.WriteOutput("ERROR: Usage expected 1 command line argument");
            return(false);
        }