Skip to Content
gnux

-P, --extra

Check for empty names and leading "-".

An option of pathchkx.

Usage

pathchkx -P NAME...
pathchkx --extra NAME...

Details

ShortLongValueDefaultMeaning
-P--extranonecheck for empty names and leading "-"

Examples

Reject a name that a command would read as an option

pathchkx -P "$name" || exit 1

Help in the terminal

gnux help pathchkx --extra

On this page