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 @@ -42,10 +42,14 @@ _cryptsetup()
4242 COMPREPLY=($( compgen -W ' $(_parse_help "$1")' -- " $cur " ) )
4343 [[ ${COMPREPLY-} == * = ]] && compopt -o nospace
4444 else
45- COMPREPLY=($( compgen -W ' open close resize status benchmark
46- repair erase luksFormat luksAddKey luksRemoveKey luksChangeKey
47- luksKillSlot luksUUID isLuks luksDump tcryptDump luksSuspend
48- luksResume luksHeaderBackup luksHeaderRestore' -- " $cur " ) )
45+ COMPREPLY=($( compgen -W ' benchmark bitlkClose bitlkDump bitlkOpen
46+ close config convert create erase isLuks loopaesClose
47+ loopaesOpen luksAddKey luksChangeKey luksClose luksConfig
48+ luksConvertKey luksDump luksErase luksFormat luksHeaderBackup
49+ luksHeaderRestore luksKillSlot luksOpen luksRemoveKey
50+ luksResume luksSuspend luksUUID open plainClose plainOpen
51+ reencrypt refresh remove repair resize status tcryptClose
52+ tcryptDump tcryptOpen token' -- " $cur " ) )
4953 fi
5054 else
5155 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