Skip to content

Commit

Permalink
Clean up various language issues --help output
Browse files Browse the repository at this point in the history
  • Loading branch information
cquammen committed Mar 7, 2017
1 parent 21353a0 commit c312f28
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
22 changes: 11 additions & 11 deletions ParaViewCore/ClientServerCore/Core/vtkPVOptions.cxx
Expand Up @@ -142,12 +142,12 @@ void vtkPVOptions::Initialize()
"--cslog", 0, &this->LogFileName, "ClientServerStream log file.", vtkPVOptions::ALLPROCESS);

this->AddBooleanArgument("--multi-clients", 0, &this->MultiClientMode,
"Allow server to keep listening for serveral client to"
"Allow server to keep listening for several clients to"
"connect to it and share the same visualization session.",
vtkPVOptions::PVDATA_SERVER | vtkPVOptions::PVSERVER);

this->AddBooleanArgument("--multi-clients-debug", 0, &this->MultiClientModeWithErrorMacro,
"Allow server to keep listening for serveral client to"
"Allow server to keep listening for several clients to"
"connect to it and share the same visualization session."
"While keeping the error macro on the server session for debug.",
vtkPVOptions::PVDATA_SERVER | vtkPVOptions::PVSERVER);
Expand All @@ -162,8 +162,8 @@ void vtkPVOptions::Initialize()
vtkPVOptions::PVCLIENT | vtkPVOptions::PARAVIEW);

this->AddArgument("--server-url", "-url", &this->ServerURL,
"Set the server-url to connect with when the client starts. "
"--server (-s) option supersedes this option, hence one should only use "
"Set the server-url to connect to when the client starts. "
"The --server (-s) option supersedes this option, hence use only "
"one of the two options.",
vtkPVOptions::PVCLIENT | vtkPVOptions::PARAVIEW);

Expand All @@ -174,7 +174,7 @@ void vtkPVOptions::Initialize()
vtkPVOptions::PVDATA_SERVER);
this->AddBooleanArgument("--use-offscreen-rendering", 0, &this->UseOffscreenRendering,
"Render offscreen on the satellite processes."
" This option only works with software rendering or mangled mesa on Unix.",
" This option only works with software rendering or mangled Mesa on Unix.",
vtkPVOptions::PVRENDER_SERVER | vtkPVOptions::PVSERVER | vtkPVOptions::PVBATCH);
#ifdef VTK_USE_OFFSCREEN_EGL
this->AddArgument("--egl-device-index", NULL, &this->EGLDeviceIndex,
Expand Down Expand Up @@ -203,10 +203,10 @@ void vtkPVOptions::Initialize()
"Size of tile display in the number of displays in each column of the display.",
vtkPVOptions::PVRENDER_SERVER | vtkPVOptions::PVSERVER);
this->AddArgument("--tile-mullion-x", "-tmx", this->TileMullions,
"Size of the gap between columns in the tile display, in Pixels.",
"Size of the gap between columns in the tile display, in pixels.",
vtkPVOptions::PVRENDER_SERVER | vtkPVOptions::PVSERVER);
this->AddArgument("--tile-mullion-y", "-tmy", this->TileMullions + 1,
"Size of the gap between rows in the tile display, in Pixels.",
"Size of the gap between rows in the tile display, in pixels.",
vtkPVOptions::PVRENDER_SERVER | vtkPVOptions::PVSERVER);

this->AddArgument("--timeout", 0, &this->Timeout,
Expand All @@ -219,8 +219,8 @@ void vtkPVOptions::Initialize()
"--version", "-V", &this->TellVersion, "Give the version number and exit.");

this->AddArgument("--servers-file", 0, &this->ServersFileName,
"Load the specified configuration servers file (.pvsc). This option replace "
"the default user's configuration servers file",
"Load the specified configuration servers file (.pvsc). This option replaces "
"the default user's configuration servers file.",
vtkPVOptions::PVCLIENT | vtkPVOptions::PARAVIEW);

// add new Command Option for loading StateFile (Bug #5711)
Expand Down Expand Up @@ -261,7 +261,7 @@ void vtkPVOptions::Initialize()
this->AddBooleanArgument("--disable-xdisplay-test", 0, &this->DisableXDisplayTests,
"When specified, all X-display tests and OpenGL version checks are skipped. Use this option if "
"you are getting remote-rendering disabled errors and you are positive that "
"the X environment is setup properly and your OpenGL support is adequate (experimental).",
"the X environment is set up properly and your OpenGL support is adequate (experimental).",
vtkPVOptions::PVSERVER | vtkPVOptions::PVRENDER_SERVER | vtkPVOptions::PVBATCH);

#if defined(PARAVIEW_USE_MPI)
Expand Down Expand Up @@ -412,7 +412,7 @@ void vtkPVOptions::PrintSelf(ostream& os, vtkIndent indent)

if (this->MultiClientMode)
{
os << indent << "Allow several client to connect to that server.\n";
os << indent << "Allow several clients to connect to a server.\n";
}
if (this->MultiServerMode)
{
Expand Down
6 changes: 3 additions & 3 deletions Qt/Core/pqOptions.cxx
Expand Up @@ -106,16 +106,16 @@ void pqOptions::Initialize()
"Set the temporary directory where test-case output will be stored.");

this->AddArgument("--tile-image-prefix", NULL, &this->TileImagePath,
"Set the temporary directory with file name prefix for tile display image dump.");
"Set the temporary directory with file name prefix for the tile display image dump.");

this->AddArgument("--data-directory", NULL, &this->DataDirectory,
"Set the data directory where test-case data are.");
"Set the data directory where test-case data are located.");

this->AddBooleanArgument("--exit", NULL, &this->ExitAppWhenTestsDone,
"Exit application when testing is done. Use for testing.");

this->AddArgument("--server", "-s", &this->ServerResourceName,
"Set the name of the server resource to connect with when the client starts.");
"Set the name of the server resource to connect to when the client starts.");

this->AddCallback("--test-script", NULL, &::AddTestScript, this,
"Add test script. Can be used multiple times to "
Expand Down

0 comments on commit c312f28

Please sign in to comment.