@@ -599,8 +599,8 @@ void HelpRun::settingsSetHelp()
599599{
600600 // Initialize an enumeration and string list used to determine what setting set
601601 // command was given to get help on, if any.
602- enum {CUDA,OpenCL,Threads,Buffer,ChunkDir,ChunkPre,ChunkExt,Logging};
603- QStringList list {" cuda" ," opencl" ," threads" ," buffer" ," chunkdir" ," chunkpre" ," chunkext" ," logging" };
602+ enum {CUDA,OpenCL,Threads,Buffer,ChunkDir,ChunkPre,ChunkExt,Logging,LogPort };
603+ QStringList list {" cuda" ," opencl" ," threads" ," buffer" ," chunkdir" ," chunkpre" ," chunkext" ," logging" , " logport " };
604604
605605 // Create an empty command string, setting it to this run's next command argument
606606 // is any exists.
@@ -637,6 +637,9 @@ void HelpRun::settingsSetHelp()
637637 case Logging:
638638 settingsSetLoggingHelp ();
639639 break ;
640+ case LogPort:
641+ settingsSetLogPortHelp ();
642+ break ;
640643 default :
641644 {
642645 // If the setting set command was not recognized or was empty then print the basic
@@ -645,11 +648,12 @@ void HelpRun::settingsSetHelp()
645648 stream << " Command: " << _runName << " settings set <key> <value>\n "
646649 << " Updates a persistent setting with the given key to the new given value.\n\n "
647650 << " key: The key of the setting that will be updated to a new value. Valid keys\n "
648- << " are cuda, opencl, threads, buffer, chunkdir, chunkpre, chunkext, and \n "
649- << " logging.\n\n "
651+ << " are cuda, opencl, threads, buffer, chunkdir, chunkpre, chunkext,\n "
652+ << " logging, and logport .\n\n "
650653 << " value: The new value of the given setting.\n\n "
651654 << " Help: " << _runName << " help settings set <key>\n "
652- << " Get help about a specific setting to set with the given key.\n\n " ;
655+ << " Get help about a specific setting to set with the given key.\n\n "
656+ << " Valid settings set keys:\n " ;
653657 break ;
654658 }
655659 }
@@ -822,6 +826,20 @@ void HelpRun::settingsSetLoggingHelp()
822826
823827
824828
829+ void HelpRun::settingsSetLogPortHelp ()
830+ {
831+ QTextStream stream (stdout);
832+ stream << " Command: " << _runName << " settings set logport <port>\n "
833+ << " Updates the logging port setting. The logging port is the port number the ACE\n "
834+ << " logging system listens on for logging client connections.\n\n "
835+ << " port: The new port number.\n\n " ;
836+ }
837+
838+
839+
840+
841+
842+
825843/* !
826844 * Displays the help text for the settings list command.
827845 */
0 commit comments