Skip to content

Commit 4b2a935

Browse files
committed
Update blocklist of unsafe commands
With newly added arguments Signed-off-by: Daniel Schaefer <[email protected]>
1 parent 0a5d5aa commit 4b2a935

File tree

1 file changed

+14
-0
lines changed
  • framework_lib/src/commandline

1 file changed

+14
-0
lines changed

framework_lib/src/commandline/mod.rs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,16 +235,22 @@ pub fn parse(args: &[String]) -> Cli {
235235
verbosity: cli.verbosity,
236236
versions: cli.versions,
237237
version: cli.version,
238+
features: cli.features,
238239
esrt: cli.esrt,
239240
device: cli.device,
241+
compare_version: cli.compare_version,
240242
power: cli.power,
241243
thermal: cli.thermal,
242244
sensors: cli.sensors,
243245
// fansetduty
244246
// fansetrpm
245247
// autofanctrl
248+
pdports: cli.pdports,
246249
privacy: cli.privacy,
247250
pd_info: cli.version,
251+
// pd_reset
252+
// pd_disable
253+
// pd_enable
248254
dp_hdmi_info: cli.dp_hdmi_info,
249255
// dp_hdmi_update
250256
audio_card_info: cli.audio_card_info,
@@ -256,19 +262,25 @@ pub fn parse(args: &[String]) -> Cli {
256262
// dump_ec_flash
257263
// flash_ec
258264
// flash_ro_ec
265+
// flash_rw_ec
259266
driver: cli.driver,
260267
test: cli.test,
268+
dry_run: cli.dry_run,
269+
// force
261270
intrusion: cli.intrusion,
262271
inputdeck: cli.inputdeck,
263272
inputdeck_mode: cli.inputdeck_mode,
264273
expansion_bay: cli.expansion_bay,
265274
// charge_limit
266275
// charge_current_limit
276+
// charge_rate_limit
267277
get_gpio: cli.get_gpio,
268278
fp_led_level: cli.fp_led_level,
269279
fp_brightness: cli.fp_brightness,
270280
kblight: cli.kblight,
281+
remap_key: cli.remap_key,
271282
rgbkbd: cli.rgbkbd,
283+
ps2_enable: cli.ps2_enable,
272284
// tablet_mode
273285
// touchscreen_enable
274286
stylus_battery: cli.stylus_battery,
@@ -280,6 +292,8 @@ pub fn parse(args: &[String]) -> Cli {
280292
pd_ports: cli.pd_ports,
281293
help: cli.help,
282294
info: cli.info,
295+
// flash_gpu_descriptor
296+
// flash_gpu_descriptor_file
283297
// allupdate
284298
paginate: cli.paginate,
285299
// raw_command

0 commit comments

Comments
 (0)