X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=mailbox-count.cabal;h=99dedae3bfc5d1d13ebf018abfdfc1e1868dcb9b;hb=5916627ab5480c8d118dabba060994bbc3a1f2b8;hp=fb2e6b2a160487d4c952c06214809aea7918907c;hpb=423950680d078d163311e53818ca0d37f6a627e8;p=mailbox-count.git diff --git a/mailbox-count.cabal b/mailbox-count.cabal index fb2e6b2..99dedae 100644 --- a/mailbox-count.cabal +++ b/mailbox-count.cabal @@ -1,6 +1,6 @@ cabal-version: 3.0 name: mailbox-count -version: 0.0.5 +version: 0.0.6 author: Michael Orlitzky maintainer: Michael Orlitzky license: AGPL-3.0-only @@ -46,72 +46,59 @@ description: /Options/: - @ - \--database - @ + * \--database - The name of the database (or file, if SQLite) to which we should - connect. + The name of the database (or file, if SQLite) to which we should + connect. - Default: The name of the current user (Postgres only). + Default: The name of the current user (Postgres only). - @ - \--detail - @ + * \--detail - Produce a detailed report listing all mailboxes by domain. + Produce a detailed report listing all mailboxes by domain. - @ - \--detail-query - @ + * \--detail-query - SQL query used to produce the detail report. This should return the - set of all (domain, username) pairs. See the default value for an - example. + SQL query used to produce the detail report. This should return the + set of all (domain, username) pairs. See the default value for an + example. - Default: \"SELECT domain,username FROM mailbox ORDER BY domain;\" + Default: \"SELECT domain,username FROM mailbox ORDER BY domain;\" - @ - \--host - @ + * \--host - Hostname where the database is located (Postgres-only). + Hostname where the database is located (Postgres-only). - Default: None, a UNIX domain socket connection is attempted (Postgres only) + Default: None, a UNIX domain socket connection is attempted + (Postgres only) - @ - \--password - @ + * \--password - Password used to connect to the database (Postgres-only). + Password used to connect to the database (Postgres-only). - Default: None (assumes passwordless authentication) + Default: None (assumes passwordless authentication) - @ - \--port - @ - Port number used to connect to the database (Postgres-only). + * \--port - Default: None, a UNIX domain socket connection is attempted (Postgres only) + Port number used to connect to the database (Postgres-only). - @ - \--summary-query - @ + Default: None, a UNIX domain socket connection is attempted + (Postgres only) - SQL query used to produce the summary report. This should return - (domain, user count) pairs. See the default value for an - example. + * \--summary-query - Default: \"SELECT domain,COUNT(username) FROM mailbox GROUP BY domain - ORDER BY domain;\" + SQL query used to produce the summary report. This should return + (domain, user count) pairs. See the default value for an + example. - @ - \--username - @ + Default: \"SELECT domain,COUNT(username) FROM mailbox GROUP BY domain + ORDER BY domain;\" - Username used to connect to the database (Postgres-only). + * \--username - Default: The current user + Username used to connect to the database (Postgres-only). + + Default: The current user /Examples/: @@ -208,7 +195,6 @@ test-suite testsuite directory >= 1.2, filepath >= 1.3, HDBC >= 2.4, - HDBC-postgresql >= 2.3, HDBC-sqlite3 >= 2.3, MissingH >= 1.2, tasty >= 0.8,