-P, --extra
Check for empty names and leading "-".
An option of pathchkx.
Usage
pathchkx -P NAME...
pathchkx --extra NAME...Details
| Short | Long | Value | Default | Meaning |
|---|---|---|---|---|
-P | --extra | none | check for empty names and leading "-" |
Examples
Reject a name that a command would read as an option
pathchkx -P "$name" || exit 1Help in the terminal
gnux help pathchkx --extra