chiark / gitweb /
check-bkp-status.in: Force `sqlite3' output options to be correct.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 7 Jul 2017 10:01:40 +0000 (11:01 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 7 Jul 2017 10:01:40 +0000 (11:01 +0100)
commitfafa928807d4d6ffb514bc47a9173b6a757a473c
tree13d1b7e5d4c69baea700063aea3dd26b7f4d6233
parent3d32ff8ff7bc08ccc7772cb326b54ebcff2b1224
check-bkp-status.in: Force `sqlite3' output options to be correct.

If the user has a `.sqlite3' file which overrides the default output
options (quite likely, because the default format is rather ugly) then
`check-bkp-status' gets very confused.  So add a bunch of options:

  * `-batch' suppresses the annoying `Loading resources from
    HOME/.sqliterc' banner;

  * `-list' forces thing-separated items rather than tabulated output;

  * `-separator |' sets the thing which separates items; and

  * `-noheader' suppresses the column headings.

Honestly there ought to be a `-norc' option, but there isn't.
check-bkp-status.in