diff --git a/eeschema/eeschema_jobs_handler.cpp b/eeschema/eeschema_jobs_handler.cpp index 601509b5e3..242d47f667 100644 --- a/eeschema/eeschema_jobs_handler.cpp +++ b/eeschema/eeschema_jobs_handler.cpp @@ -451,7 +451,7 @@ int EESCHEMA_JOBS_HANDLER::JobExportBom( JOB* aJob ) { // Handle wildcard. We allow the wildcard anywhere in the list, but it needs to respect // fields that come before and after the wildcard. - if( fieldName == _( "*" ) ) + if( fieldName == wxS( "*" ) ) { for( const BOM_FIELD& modelField : dataModel.GetFieldsOrdered() ) { diff --git a/kicad/cli/command_sch_export_bom.h b/kicad/cli/command_sch_export_bom.h index 63f9d2baf4..d2afd1102f 100644 --- a/kicad/cli/command_sch_export_bom.h +++ b/kicad/cli/command_sch_export_bom.h @@ -53,7 +53,8 @@ namespace CLI //Options for controlling the fields and the grouping #define ARG_FIELDS "--fields" -#define ARG_FIELDS_DESC "An ordered list of fields to export. Supports * and ${} substitutions." +#define ARG_FIELDS_DESC \ + "An ordered list of fields to export. See documentation for special substitutions." #define ARG_LABELS "--labels" #define ARG_LABELS_DESC "An ordered list of labels to apply the exported fields."