[GRASS-git] [OSGeo/grass] b6f553: lib/parser: Use None as default for overwrite (#6076)
Vaclav Petras
noreply at github.com
Sat Jul 26 13:08:02 PDT 2025
Branch: refs/heads/main
Home: https://github.com/OSGeo/grass
Commit: b6f55364314ad219b7b84c483028392eb446b5cc
https://github.com/OSGeo/grass/commit/b6f55364314ad219b7b84c483028392eb446b5cc
Author: Vaclav Petras <wenzeslaus at gmail.com>
Date: 2025-07-26 (Sat, 26 Jul 2025)
Changed paths:
M lib/gis/parser_md_python.c
Log Message:
-----------
lib/parser: Use None as default for overwrite (#6076)
Use None, not False, as a default value for overwrite, verbose etc. None is more appropriate because the default behavior is influenced by the environment and, very generally, by how the library is set up. While False is correct in terms of the corresponding command line not being set, the False value may create a false perception that overwriting will be disabled, but in fact overwriting will be driven by the environment.
To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications
More information about the grass-commit
mailing list