printUsage overloads

Synopses

Declared in <balcl_commandline.h>

Print usage describing the expected command line to stderr.

void
printUsage() const;

Print usage describing the expected command line to errorStream.

void
printUsage(std::ostream& errorStream) const;

Print usage to stderr, using the specified programName.

void
printUsage(std::string_view const& programName) const;

Print usage to errorStream, using the specified programName.

void
printUsage(
    std::ostream& errorStream,
    std::string_view const& programName) const;

Parameters

Name

Description

errorStream

stream to which usage is written

programName

name of the program in the printed usage

Created with MrDocs