Commit ce9b633c authored by Andrew Bauer's avatar Andrew Bauer

Improve error message when Python script isn't found.

Fixes for both pvbatch and pvpython to let them know that they may want to
check on the file name or path for misspellings.

Fixes #17906.
parent 71c683ee
......@@ -196,7 +196,8 @@ void vtkInitializationHelper::Initialize(int argc, char** argv, int type, vtkPVO
{
if (options->GetUnknownArgument())
{
sscerr << "Got unknown argument: " << options->GetUnknownArgument() << endl;
sscerr << "Got unknown argument: " << options->GetUnknownArgument()
<< ". Could you have misspelled your Python file path or name?" << endl;
}
if (options->GetErrorMessage())
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment