{
"name": "pathchk",
"description": "Check pathnames for POSIX portability",
"options": [
{
"names": [
"-p"
],
"description": "Perform portability checks on the specified pathname arguments, writes messages if 1) path is longer than _POSIX_PATH_MAX (255) bytes 2) contains a component longer than _POSIX_NAME_MAX (14) bytes, co"
},
{
"names": [
"-P"
],
"description": "In addition to the default or -p checks, write a diagnostic for each argument that 1) is empty 2) contains a component that starts with a hyphen"
}
],
"args": [
{
"name": "pathname",
"description": "Pathname(s) to check",
"is_variadic": true,
"template": "filepaths"
}
]
}