mirror of
https://github.com/parchlinux/calamares.git
synced 2025-07-01 11:25:36 -04:00
[calamares] Better command-line help in module test-loader
This commit is contained in:
parent
40e031411c
commit
c6e8cdf65b
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue