diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-07-14 14:49:52 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-07-14 14:49:52 +0100 |
commit | 99e1a43cdba0e52d2832747d3b53aec0fbe2f4fe (patch) | |
tree | 872e380a0ec68a4945ba5b0c3789dc957e17c42f /bin/update-all-reports | |
parent | 6f23d7b44ddc2556897e920cb88a3c81357605bf (diff) | |
parent | f604fb2765b2845ddf5c8ba12832348e9d59016c (diff) |
Merge branch 'new-reports-in-core'
Diffstat (limited to 'bin/update-all-reports')
-rwxr-xr-x | bin/update-all-reports | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/update-all-reports b/bin/update-all-reports index 02f9fda78..250901312 100755 --- a/bin/update-all-reports +++ b/bin/update-all-reports @@ -21,13 +21,13 @@ use Getopt::Long::Descriptive; my ($opt, $usage) = describe_options( '%c %o', - [ 'dashboard', "Output JSON for new dashboard-style page." ], + [ 'table', "Output JSON for old table-style page." ], [ 'help', "print usage message and exit", { shortcircuit => 1 } ], ); print($usage->text), exit if $opt->help; -if ($opt->dashboard) { - FixMyStreet::Script::UpdateAllReports::generate_dashboard(); -} else { +if ($opt->table) { FixMyStreet::Script::UpdateAllReports::generate(); +} else { + FixMyStreet::Script::UpdateAllReports::generate_dashboard(); } |