We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I press the tab key in cryptsetup luks, luksErase is not completed.
cryptsetup luks
cryptsetup luksE
luksErase appears as a candidate for completion.
echo "$BASH_VERSION"
(IFS=.; echo "${BASH_COMPLETION_VERSINFO[*]}")
The text was updated successfully, but these errors were encountered:
This is because just the list hardcoded in completions/cryptsetup is not up to date:
completions/cryptsetup
bash-completion/completions/cryptsetup
Lines 43 to 46 in 9cde158
The upstream option parser is found here:
https://gitlab.com/cryptsetup/cryptsetup/-/blob/main/src/cryptsetup.c#L3155-3208 https://gitlab.com/cryptsetup/cryptsetup/-/blob/main/src/cryptsetup.c#L2831-2867 https://gitlab.com/cryptsetup/cryptsetup/-/blob/main/src/cryptsetup_args.h#L28-53
The differences are
--- a.txt^I2022-06-14 17:51:57.795545785 +0900 +++ b.txt^I2022-06-14 17:52:12.900602154 +0900 @@ -1,20 +1,41 @@ benchmark +bitlkClose +bitlkDump +bitlkOpen close +config +convert +create erase isLuks +loopaesClose +loopaesOpen luksAddKey luksChangeKey +luksClose +luksConfig +luksConvertKey luksDump +luksErase luksFormat luksHeaderBackup luksHeaderRestore luksKillSlot +luksOpen luksRemoveKey luksResume luksSuspend luksUUID open +plainClose +plainOpen +reencrypt +refresh +remove repair resize status +tcryptClose tcryptDump +tcryptOpen +token
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Describe the bug
When I press the tab key in
cryptsetup luks
, luksErase is not completed.To reproduce
cryptsetup luksE
Expected behavior
luksErase appears as a candidate for completion.
Versions (please complete the following information)
echo "$BASH_VERSION"
: 5.1.16(1)-release(IFS=.; echo "${BASH_COMPLETION_VERSINFO[*]}")
: 2.11Additional context
Debug trace
The text was updated successfully, but these errors were encountered: