# PetscOptionsHasHelp
Determines whether the "-help" option is in the database. 
## Synopsis
```
#include "petscsys.h"   
PetscErrorCode PetscOptionsHasHelp(PetscOptions options, PetscBool *set)
```
Not Collective


## Input Parameter

- ***options -*** options database, use NULL for default global database



## Output Parameter

- ***set -*** `PETSC_TRUE` if found else `PETSC_FALSE`.





## See Also
 `PetscOptionsHasName()`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/objects/options.c.html#PetscOptionsHasHelp">src/sys/objects/options.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/sys/objects/options.c)


[Index of all Sys routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
