@@ -43,7 +43,7 @@ program
4343 . option ( '-r, --reference <code>' , 'Specific reference table code' )
4444 . option ( '-y, --year <year>' , 'Year(s) to crawl (e.g., 2023, 2020-2023, or 2020,2022,2023)' )
4545 . option ( '-M, --month <month>' , 'Month(s) to crawl (e.g., 6, 1-6, or 1,3,6)' )
46- . option ( '-b, --brand <code >' , 'Specific brand code' )
46+ . option ( '-b, --brand <codes >' , 'Brand code(s), comma-separated ' )
4747 . option ( '-m, --model <codes>' , 'Model code(s), comma-separated (requires --brand)' )
4848 . option ( '-c, --classify' , 'Classify new models by segment using AI' )
4949 . option ( '-f, --force' , 'Re-fetch all data, ignoring sync status' )
@@ -53,7 +53,7 @@ program
5353 referenceCode : options . reference ? parseInt ( options . reference , 10 ) : undefined ,
5454 years : options . year ? parseNumberList ( options . year ) : undefined ,
5555 months : options . month ? parseNumberList ( options . month ) : undefined ,
56- brandCode : options . brand ,
56+ brandCodes : options . brand ? parseCommaSeparated ( options . brand ) : undefined ,
5757 modelCodes : options . model ? parseCommaSeparated ( options . model ) : undefined ,
5858 classify : options . classify ,
5959 force : options . force ,
0 commit comments