Chris, Can you describe that datafile and how it is used? Also the gsettings schemas for gsettings queries.
> --gsettings-prefix arg Set the prefix for gsettings schemas for gsettings queries. This can be useful to have a different settings tree while debugging. > Report Generation Options: > -R [ --report ] arg ... The following commands are supported. > show: ... A datafile may be specified to describe some saved options. With what you've described: * Replace saved-reports-2.8 with a file containing required options, run gnucash-cli then restore saved-reports-2.8. When a user runs a (.scm) report it uses saved-reports-2.8 which in my instance contains ;; Options for saved report "Transaction Report", based on template "2fe3b9833af044abb929a88d5a59620f" ... transaction.scm is just a shell containing: (gnc:define-report 'version 1 'name (N_ "Transaction Report") 'report-guid "2fe3b9833af044abb929a88d5a59620f" It calls trep-engine.scm - (define-module (gnucash report trep-engine)) On Wed, Sep 1, 2021 at 1:55 AM Christopher Lam wrote: > There's no mechanism to modify report options from the command line. The > gnucash-cli is meant mainly to run reports with sensible defaults (eg > balance sheet) and saved reports (eg transaction report with modified > options). > > On Tue, 31 Aug 2021, 5:53 pm flywire wrote: > >> This report needs accounts and dates to be specified in Win10 and I'd like >> to tweak some other settings. "A datafile may be specified to describe >> some >> saved options." Where is the documentation for gnucash-cli ? >> > _______________________________________________ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. ----- Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.