[gdal-dev] Standardize gdal-utils scripts return code for "no arguments"
Robert Coup
robert.coup at koordinates.com
Thu Apr 28 07:29:06 PDT 2022
Hi Matt,
On Wed, 27 Apr 2022 at 18:27, <Matt.Wilkie at yukon.ca> wrote:
>
>
> Since return 2 is the default for argparse then it seems to we should do
> the same for all the python utils?
>
In my experience 2 is a common exit code when missing/invalid arguments are
passed to a process in the unix-ey world, but it's not standardised or
universal.
Rob :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20220428/117e7495/attachment.html>
More information about the gdal-dev
mailing list