Mercurial > getan
diff scripts/getan-report @ 550:28b1c18c900f
Specify project keys in getan-report with SQL patterns
* In getan-report project keys can now be specified with SQL patterns.
This allows projects and their sub-projects to be better selected for output.
% - zero, one, or multiple characters
_ - single character
author | Magnus Schieder <mschieder@intevation.de> |
---|---|
date | Tue, 11 Feb 2020 15:46:37 +0100 |
parents | d5acadeef0f8 |
children | d44ee9cd7261 |
line wrap: on
line diff
--- a/scripts/getan-report Mon Feb 03 15:51:33 2020 +0100 +++ b/scripts/getan-report Tue Feb 11 15:46:37 2020 +0100 @@ -35,7 +35,7 @@ external templates must be stored in ~/.getan/templates/ to be able to call them.""") parser.add_argument('-u', '--user', help='name of user') - parser.add_argument('-p', '--project', help='key of output project') + parser.add_argument('-p', '--project', help='key (sql pattern) of output project') parser.add_argument('-w', '--week', type=int, help='week of year') parser.add_argument('-y', '--year', type=int, help='year') parser.add_argument('-c', '--lastweek', help='entries of last working week',