[GRASS-git] [OSGeo/grass] d59581: init: Decrease verbosity of --exec (#2457)

Vaclav Petras noreply at github.com
Wed Jul 27 03:55:17 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: d59581e722c35eedc0eb3920d0eb2bd7b3533968
      https://github.com/OSGeo/grass/commit/d59581e722c35eedc0eb3920d0eb2bd7b3533968
  Author: Vaclav Petras <wenzeslaus at gmail.com>
  Date:   2022-07-27 (Wed, 27 Jul 2022)

  Changed paths:
    M lib/init/grass.py

  Log Message:
  -----------
  init: Decrease verbosity of --exec (#2457)

* If --exec or -e (exit with -c) is used, do not show the 'Starting' message. Only one operation will happen, so no need to emphasize there is a session starting.
* Do not show 'Creating' message for --tmp-location. It is temporary, no need to know it is being created when that's what was requested and it will be deleted at the end.
* Show 'Executing' and 'Execution...finished' messages only in verbose mode. By default, there is no need to echo the command which was received.
* Clarify interface of run_batch_job and fix its documentation. Remove unused env var related code.




More information about the grass-commit mailing list