gdallocationinfo --version (return code: 0)
GDAL 2.2.1, released 2017/06/23
gdallocationinfo --help (return code: 1)
Usage: gdallocationinfo [--help-general] [-xml] [-lifonly] [-valonly]
[-b band]* [-overview overview_level]
[-l_srs srs_def] [-geoloc] [-wgs84]
[-oo NAME=VALUE]* srcfile x y