File tree 2 files changed +12
-2
lines changed
2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 5
5
_framework_tool () {
6
6
local options
7
7
options=(
8
+ " --flash-gpu-descriptor"
8
9
" -v" " --verbose"
9
10
" -q" " --quiet"
10
11
" --versions"
@@ -37,8 +38,12 @@ _framework_tool() {
37
38
" --input-deck-mode"
38
39
" --charge-limit"
39
40
" --get-gpio"
41
+ " --fp-led-level"
40
42
" --fp-brightness"
41
43
" --kblight"
44
+ " --rgbkbd"
45
+ " --tablet-mode"
46
+ " --touchscreen-enable"
42
47
" --console"
43
48
" --reboot-ec"
44
49
" --hash"
@@ -55,7 +60,7 @@ _framework_tool() {
55
60
local console_modes=(" recent" " follow" )
56
61
local drivers=(" portio" " cros-ec" " windows" )
57
62
local has_mec_options=(" true" " false" )
58
- local brightness_options=(" high" " medium" " low" )
63
+ local brightness_options=(" high" " medium" " low" " ultra-low " )
59
64
60
65
local current_word prev_word
61
66
current_word=" ${COMP_WORDS[COMP_CWORD]} "
Original file line number Diff line number Diff line change 3
3
local -a options
4
4
5
5
options=(
6
+ '--flash-gpu-descriptor[]'
6
7
'-v[Increase logging verbosity]'
7
8
'-q[Decrease logging verbosity]'
8
9
'--versions[Show current firmware versions]'
@@ -35,8 +36,12 @@ options=(
35
36
'--input-deck-mode[Set input deck power mode]:input_deck_mode:(auto off on)'
36
37
'--charge-limit[Get or set max charge limit]:charge_limit'
37
38
'--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'
39
41
'--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)'
40
45
'--console[Get EC console, choose whether recent or to follow the output]:console:(recent follow)'
41
46
'--reboot-ec[Control EC RO/RW jump]:reboot_ec:(reboot jump-ro jump-rw cancel-jump disable-jump)'
42
47
'--hash[Hash a file of arbitrary data]:hash'
You can’t perform that action at this time.
0 commit comments