File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed
Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 55_framework_tool () {
66 local options
77 options=(
8+ " --flash-gpu-descriptor"
89 " -v" " --verbose"
910 " -q" " --quiet"
1011 " --versions"
@@ -37,8 +38,12 @@ _framework_tool() {
3738 " --input-deck-mode"
3839 " --charge-limit"
3940 " --get-gpio"
41+ " --fp-led-level"
4042 " --fp-brightness"
4143 " --kblight"
44+ " --rgbkbd"
45+ " --tablet-mode"
46+ " --touchscreen-enable"
4247 " --console"
4348 " --reboot-ec"
4449 " --hash"
@@ -55,7 +60,7 @@ _framework_tool() {
5560 local console_modes=(" recent" " follow" )
5661 local drivers=(" portio" " cros-ec" " windows" )
5762 local has_mec_options=(" true" " false" )
58- local brightness_options=(" high" " medium" " low" )
63+ local brightness_options=(" high" " medium" " low" " ultra-low " )
5964
6065 local current_word prev_word
6166 current_word=" ${COMP_WORDS[COMP_CWORD]} "
Original file line number Diff line number Diff line change 33local -a options
44
55options=(
6+ '--flash-gpu-descriptor[]'
67 '-v[Increase logging verbosity]'
78 '-q[Decrease logging verbosity]'
89 '--versions[Show current firmware versions]'
@@ -35,8 +36,12 @@ options=(
3536 '--input-deck-mode[Set input deck power mode]:input_deck_mode:(auto off on)'
3637 '--charge-limit[Get or set max charge limit]:charge_limit'
3738 '--get-gpio[Get GPIO value by name]:get_gpio'
38- '--fp-brightness[Get or set fingerprint LED brightness]:fp_brightness:(high medium low)'
39+ '--fp-led-level-gpio[Get or set fingerprint LED brightness level]:fp_led_level:(high medium low ultra-low auto)'
40+ '--fp-brightness[Get or set fingerprint LED brightness]:fp_brightness'
3941 '--kblight[Set keyboard backlight percentage or get, if no value provided]:kblight'
42+ '--rgbkbd[Set the color of <key> to <RGB>.]'
43+ '--tablet-mode[Set tablet mode override]:tablet_mode:(auto tablet laptop)'
44+ '--touchscreen-enable[Enable/disable touchscreen]:touchscreen_enable:(true false)'
4045 '--console[Get EC console, choose whether recent or to follow the output]:console:(recent follow)'
4146 '--reboot-ec[Control EC RO/RW jump]:reboot_ec:(reboot jump-ro jump-rw cancel-jump disable-jump)'
4247 '--hash[Hash a file of arbitrary data]:hash'
You can’t perform that action at this time.
0 commit comments