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

- bugfix, App::Cmd checks existence of required, not the value.

  Therefore 'required=>0' does not work as expected
parent b69ea341
Branches
Tags
No related merge requests found
...@@ -22,8 +22,8 @@ sub opt_spec { ...@@ -22,8 +22,8 @@ sub opt_spec {
["verbose|v" => "enable verbose output"], ["verbose|v" => "enable verbose output"],
["rosettahost|r=s" => "host adress where Rosetta runs", {required=>1}], ["rosettahost|r=s" => "host adress where Rosetta runs", {required=>1}],
["logdir|l=s" => "logdir where rosetta stores it server log files", {required=>1}], ["logdir|l=s" => "logdir where rosetta stores it server log files", {required=>1}],
["authentication|a" => "enable authentification (needed if Rosetta's general parameter 'sru_authentication=true'), password is stored salted only in config file!", {required=>0}], ["authentication|a" => "enable authentification (needed if Rosetta's general parameter 'sru_authentication=true'), password is stored salted only in config file!"],
["httponly" => "with this flag only HTTP (instead HTTPS) is used", {required=>0}], ["httponly" => "with this flag only HTTP (instead HTTPS) is used"],
); );
} }
sub validate_args { sub validate_args {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment