@@ -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
@@ -1551,9 +1551,9 @@ pub fn run_with_args(args: &Cli, _allupdate: bool) -> i32 {
15511551 } else if let Some ( None ) = args. autofanctrl {
15521552 print_err ( ec. autofanctrl ( None ) ) ;
15531553 } else if args. pdports {
1554- power:: get_and_print_pd_info ( & ec) ;
1555- } else if args. pdports_cypd {
15561554 power:: get_and_print_cypd_pd_info ( & ec) ;
1555+ } else if args. pdports_chromebook {
1556+ power:: get_and_print_pd_info ( & ec) ;
15571557 } else if args. info {
15581558 smbios_info ( ) ;
15591559 } else if let Some ( dump_path) = & args. meinfo {
@@ -1844,8 +1844,8 @@ Options:
18441844 --fansetduty Set fan duty cycle (0-100%)
18451845 --fansetrpm Set fan RPM (limited by EC fan table max RPM)
18461846 --autofanctrl [<FANID>]Turn on automatic fan speed control (optionally provide fan index)
1847- --pdports Show information about USB-C PD ports
1848- --pdports-cypd Show CYPD PD port state (Framework-specific )
1847+ --pdports Show USB-C PD port state
1848+ --pdports-chromebook Show PD port info (generic Chromium EC )
18491849 --info Show info from SMBIOS (Only on UEFI)
18501850 --meinfo [<DUMPFILE>] Show Intel ME information (from SMBIOS type 0xDB)
18511851 --pd-info Show details about the PD controllers
0 commit comments