PISM, A Parallel Ice Sheet Model  stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900

◆ 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.