Loading [MathJax]/extensions/tex2jax.js
PISM, A Parallel Ice Sheet Model 2.2.2-d6b3a29ca committed by Constantine Khrulev on 2025-03-28
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Functions
pism_options.cc File Reference
#include <cstring>
#include "pism/util/pism_options.hh"
#include "pism/util/pism_utilities.hh"
#include "pism/pism_config.hh"
#include "pism/util/Logger.hh"

Go to the source code of this file.

Namespaces

namespace  pism
 

Functions

void pism::show_usage (const Logger &log, const std::string &execname, const std::string &usage)
 Print a usage message.
 
bool pism::show_usage_check_req_opts (const Logger &log, const std::string &execname, const std::vector< std::string > &required_options, const std::string &usage)
 In a single call a driver program can provide a usage string to the user and check if required options are given, and if not, end.