Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::RCmdLineOpts::RMakeHelpOptions Struct Reference

Definition at line 658 of file optparse.hxx.

Public Member Functions

 RMakeHelpOptions ()
 

Public Attributes

std::string_view fDescription
 This string will be appended after the "usage" line and before the flags description, only in MakeLongHelp.
 
std::size_t * fMaxLineWidth = nullptr
 If non-null, this will be used to both hint at the desired width in columns of the output text (0 means "use the default") and to retrieve the actual max line width used.
 
std::string_view fPositionalArgs
 This string will be appended to the "usage" line, after the flags short description.
 
bool fWrapDescription = true
 If true, the string passed to fDescription will be wrapped to approximately *fMaxLineWidth (see MakeShortHelp).
 

#include <optparse.hxx>

Constructor & Destructor Documentation

◆ RMakeHelpOptions()

ROOT::RCmdLineOpts::RMakeHelpOptions::RMakeHelpOptions ( )
inline

Definition at line 670 of file optparse.hxx.

Member Data Documentation

◆ fDescription

std::string_view ROOT::RCmdLineOpts::RMakeHelpOptions::fDescription

This string will be appended after the "usage" line and before the flags description, only in MakeLongHelp.

Definition at line 662 of file optparse.hxx.

◆ fMaxLineWidth

std::size_t* ROOT::RCmdLineOpts::RMakeHelpOptions::fMaxLineWidth = nullptr

If non-null, this will be used to both hint at the desired width in columns of the output text (0 means "use the default") and to retrieve the actual max line width used.

Definition at line 665 of file optparse.hxx.

◆ fPositionalArgs

std::string_view ROOT::RCmdLineOpts::RMakeHelpOptions::fPositionalArgs

This string will be appended to the "usage" line, after the flags short description.

Definition at line 660 of file optparse.hxx.

◆ fWrapDescription

bool ROOT::RCmdLineOpts::RMakeHelpOptions::fWrapDescription = true

If true, the string passed to fDescription will be wrapped to approximately *fMaxLineWidth (see MakeShortHelp).

Disable wrapping if your description already contains newlines which you want to preserve.

Definition at line 668 of file optparse.hxx.

Collaboration diagram for ROOT::RCmdLineOpts::RMakeHelpOptions:
[legend]

The documentation for this struct was generated from the following file: