kicad-cli: wxS fix and doc string change

This commit is contained in:
Mike Williams 2023-11-15 12:21:30 -05:00
parent eb5e327086
commit 42e0f7c94e
2 changed files with 3 additions and 2 deletions

View File

@ -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() )
{

View File

@ -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."