@@ -31,7 +31,7 @@ def parse_cli_property(cli_prop):
3131
3232def main ():
3333 prog = sys .argv [0 ]
34- version = "%prog 1.2 .0"
34+ version = "%prog 1.3 .0"
3535 usage = "%prog OPTIONS"
3636 epilog = "Build configured .fed package."
3737
@@ -51,7 +51,7 @@ def main():
5151 parser .add_option ("--passphrase-in" , dest = "passphrase_in" , help = "Passphrase of input archive files [optional]" , metavar = "PASSPHRASE" )
5252 parser .add_option ("--passphrase-out" , dest = "passphrase_out" , help = "Passphrase for output archive files [optional]" , metavar = "PASSPHRASE" )
5353 parser .add_option ("-s" , "--simulate" , dest = "simulate" , help = "Enable simulation mode [optional]" , action = "store_true" )
54- parser .add_option ("-b" , "--base-dir" , dest = "base_dir " , help = "Base directory for certificate files [optional ]" , metavar = "DIRECTORY" )
54+ parser .add_option ("-b" , "--base-dir" , dest = "base_dirs " , help = "Base directory for certificate files [multiple ]" , metavar = "DIRECTORY" , action = "append " )
5555 parser .add_option ("--secrets-file" , dest = "secrets_file" , help = "Path of JSON file containing confidential properties [optional]" , metavar = "FILEPATH" )
5656 parser .add_option ("--secrets-key" , dest = "secrets_key_file" , help = "Path to key file to decrypt confidential properties [optional]" , metavar = "FILEPATH" )
5757
@@ -115,8 +115,8 @@ def main():
115115
116116 # Setup configuration
117117 fed_config = FedConfigurator (options .pol_file_path , options .env_file_path , options .config_file_path , options .cert_file_path , properties , passphrase_in , secrets )
118- if options .base_dir :
119- fed_config .set_base_dir (options .base_dir )
118+ if options .base_dirs :
119+ fed_config .set_base_dirs (options .base_dirs )
120120
121121 if options .simulate :
122122 fed_config .enable_simulation_mode ()
0 commit comments