diff options
-rwxr-xr-x | lorry-controller-minion | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lorry-controller-minion b/lorry-controller-minion index dfae50f..1900313 100755 --- a/lorry-controller-minion +++ b/lorry-controller-minion @@ -73,7 +73,7 @@ class MINION(cliapp.Application): metavar='CMD', default='lorry') - self.settings.string( + self.settings.string_list( ['lorry-config'], 'lorry configuration file to use', metavar='LORRY_CFG') @@ -167,8 +167,8 @@ class MINION(cliapp.Application): self.settings['lorry-cmd'] ] - if self.settings['lorry-config']: - argv.extend(['--config', self.settings['lorry-config']]) + argv.extend(['--config=' + name + for name in self.settings['lorry-config']]) argv.append(self.temp_lorry_filename) |