:orphan: # PetscSetHelpVersionFunctions Sets functions that print help and version information before the PETSc help and version information is printed. Must call BEFORE `PetscInitialize()`. This routine enables a "higher-level" package that uses PETSc to print its messages first and control how the PETSc help messages are printed. ## Synopsis ``` #include "petscsys.h" PetscErrorCode PetscSetHelpVersionFunctions(PetscErrorCode (*help)(MPI_Comm), PetscErrorCode (*version)(MPI_Comm)) ``` ## Input Parameters - ***help -*** the help function (may be `NULL`) - ***version -*** the version function (may be `NULL`) ## See Also `PetscInitialize()` ## Level developer ## Location src/sys/objects/init.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/sys/objects/init.c) [Index of all Sys routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)