[calamares] Better command-line help in module test-loader
This commit is contained in:
parent
40e031411c
commit
c6e8cdf65b
@ -59,6 +59,7 @@ handle_args( QCoreApplication& a )
|
||||
|
||||
parser.addOption( debugLevelOption );
|
||||
parser.addPositionalArgument( "module", "Path or name of module to run." );
|
||||
parser.addPositionalArgument( "config", "Path of job-config file to use.", "[config]");
|
||||
|
||||
parser.process( a );
|
||||
|
||||
@ -140,6 +141,8 @@ load_module( const ModuleConfig& moduleConfig )
|
||||
? moduleDirectory + '/' + name + ".conf"
|
||||
: moduleConfig.configFile() );
|
||||
|
||||
cDebug() << "Module" << moduleName << "job-configuration:" << configFile;
|
||||
|
||||
Calamares::Module* module = Calamares::Module::fromDescriptor(
|
||||
descriptor, name, configFile, moduleDirectory );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user