Skip to content
Snippets Groups Projects
Commit 46b856bc authored by Andreas Romeyke's avatar Andreas Romeyke
Browse files

- removed deprecated options

- add package to generator mark in output
- fixed date mark in output
parent beb2c34c
No related branches found
No related tags found
No related merge requests found
......@@ -36,14 +36,6 @@ sub description {
sub opt_spec {
return (
[ 'debug' => 'enable user agent debug output' ],
[ 'output-format' => hidden => {
one_of => [
[ 'output-as-csv|C' => 'prints output as Comma Separated Values (CSV)' ],
[ 'output-as-raw|R' => 'enable full elasticsearch response' ],
[ 'output-as-rsv|r' => 'prints output as Raw Strings Values (RSV) [default]' ],
],
}
],
[],
[ 'datemode' => hidden => {
one_of => [
......@@ -54,12 +46,6 @@ sub opt_spec {
]
}
],
[ 'onlymode' => hidden => {
one_of => [
[ 'only-migrated', 'only if AIP is migrated from other AIS' ],
[ 'only-updated', 'only if AIP is an update' ],
[ 'only-new|only-first-ingest', 'only if AIP is first ingest' ],
] } ],
[ 'workflow|w=s' => 'LZA internal workflow name'],
[],
[ 'help|h', 'print usage message and exit', { shortcircuit => 1 } ],
......@@ -208,12 +194,12 @@ sub execute {
my $res_ldpmisc_updated = execute_ldp_funder_misc_updated(@_);
my $res_noldp_new = execute_no_ldp_new(@_);
my $res_noldp_updated = execute_no_ldp_updated(@_);
my $date = sprintf("%04u:%02u:%02u", Today());
my $date = sprintf("%04u-%02u-%02u", Today());
my $package = __PACKAGE__;
say <<"REPORT";
:lang: en
:date: $date
:generator: $0
:generator: $0 ($package)
== Report from $opt->{creationdate_epochs}->{from_string} to $opt->{creationdate_epochs}->{to_string}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment