@@ -171,7 +171,7 @@ pub struct Cli {
171171 pub fansetrpm : Option < ( Option < u32 > , u32 ) > ,
172172 pub autofanctrl : Option < Option < u8 > > ,
173173 pub pdports : bool ,
174- pub pdports_cypd : bool ,
174+ pub pdports_chromebook : bool ,
175175 pub privacy : bool ,
176176 pub pd_info : bool ,
177177 pub pd_reset : Option < u8 > ,
@@ -261,7 +261,7 @@ pub fn parse(args: &[String]) -> Cli {
261261 // fansetrpm
262262 // autofanctrl
263263 pdports : cli. pdports ,
264- pdports_cypd : cli. pdports_cypd ,
264+ pdports_chromebook : cli. pdports_chromebook ,
265265 privacy : cli. privacy ,
266266 pd_info : cli. version ,
267267 // pd_reset
@@ -1543,9 +1543,9 @@ pub fn run_with_args(args: &Cli, _allupdate: bool) -> i32 {
15431543 } else if let Some ( None ) = args. autofanctrl {
15441544 print_err ( ec. autofanctrl ( None ) ) ;
15451545 } else if args. pdports {
1546- power:: get_and_print_pd_info ( & ec) ;
1547- } else if args. pdports_cypd {
15481546 power:: get_and_print_cypd_pd_info ( & ec) ;
1547+ } else if args. pdports_chromebook {
1548+ power:: get_and_print_pd_info ( & ec) ;
15491549 } else if args. info {
15501550 smbios_info ( ) ;
15511551 } else if let Some ( dump_path) = & args. meinfo {
@@ -1836,8 +1836,8 @@ Options:
18361836 --fansetduty Set fan duty cycle (0-100%)
18371837 --fansetrpm Set fan RPM (limited by EC fan table max RPM)
18381838 --autofanctrl [<FANID>]Turn on automatic fan speed control (optionally provide fan index)
1839- --pdports Show information about USB-C PD ports
1840- --pdports-cypd Show CYPD PD port state (Framework-specific )
1839+ --pdports Show USB-C PD port state
1840+ --pdports-chromebook Show PD port info (generic Chromium EC )
18411841 --info Show info from SMBIOS (Only on UEFI)
18421842 --meinfo [<DUMPFILE>] Show Intel ME information (from SMBIOS type 0xDB)
18431843 --pd-info Show details about the PD controllers
0 commit comments