PISM, A Parallel Ice Sheet Model  stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800

◆ deprecated()

void pism::options::deprecated ( const std::string &  old_name,
const std::string &  new_name 
)

Stop if an option old_name is set, printing a message that new_name should be used instead.

Definition at line 246 of file options.cc.

References ALLOW_EMPTY, pism::RuntimeError::formatted(), pism::options::Option< T >::is_set(), and PISM_ERROR_LOCATION.