{
"name": "where",
"description": "For each name, indicate how it should be interpreted",
"options": [
{
"names": [
"-w"
],
"description": "For each name, print 'name: word', where 'word' is the kind of command"
},
{
"names": [
"-p"
],
"description": "Do a path search for the name, even if it's an alias/function/builtin"
},
{
"names": [
"-m"
],
"description": "The arguments are taken as patterns (pattern characters must be quoted)"
},
{
"names": [
"-s"
],
"description": "If the pathname contains symlinks, print the symlink-free name as well"
},
{
"names": [
"-S"
],
"description": "Print intermediate symlinks and the resolved name"
},
{
"names": [
"-x"
],
"description": "Expand tabs when outputting shell function",
"takes_arg": true,
"arg": {
"name": "num"
}
}
],
"args": [
{
"name": "names",
"is_variadic": true
}
]
}