File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -40,10 +40,14 @@ _cryptsetup()
4040 COMPREPLY=($( compgen -W ' $(_parse_help "$1")' -- " $cur " ) )
4141 [[ ${COMPREPLY-} == * = ]] && compopt -o nospace
4242 else
43- COMPREPLY=($( compgen -W ' open close resize status benchmark
44- repair erase luksFormat luksAddKey luksRemoveKey luksChangeKey
45- luksKillSlot luksUUID isLuks luksDump tcryptDump luksSuspend
46- luksResume luksHeaderBackup luksHeaderRestore' -- " $cur " ) )
43+ COMPREPLY=($( compgen -W ' benchmark bitlkClose bitlkDump bitlkOpen
44+ close config convert create erase isLuks loopaesClose
45+ loopaesOpen luksAddKey luksChangeKey luksClose luksConfig
46+ luksConvertKey luksDump luksErase luksFormat luksHeaderBackup
47+ luksHeaderRestore luksKillSlot luksOpen luksRemoveKey
48+ luksResume luksSuspend luksUUID open plainClose plainOpen
49+ reencrypt refresh remove repair resize status tcryptClose
50+ tcryptDump tcryptOpen token' -- " $cur " ) )
4751 fi
4852 else
4953 local args
Original file line number Diff line number Diff line change @@ -9,3 +9,7 @@ def test_1(self, completion):
99 @pytest .mark .complete ("cryptsetup -" , require_cmd = True )
1010 def test_2 (self , completion ):
1111 assert completion
12+
13+ @pytest .mark .complete ("cryptsetup luksE" , require_cmd = True )
14+ def test_github_issue758 (self , completion ):
15+ assert completion == "rase"
You can’t perform that action at this time.
0 commit comments