Skip to content
New issue

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

Prompt should indicate default option #16

Open
Whissi opened this issue Apr 25, 2021 · 0 comments
Open

Prompt should indicate default option #16

Whissi opened this issue Apr 25, 2021 · 0 comments

Comments

@Whissi
Copy link

Whissi commented Apr 25, 2021

Note this is tested with v0.4.3 but I didn't spot any significant changes in current master so I assume this is still happening in current master:

  1. Run eclean-kernel --ask --destructive --all.
  2. You will get prompted like

    Remove 5.11.15-gentoo-x86_64 (unwanted)? [Yes/No]

  3. When you now press Enter, output will be
    • Removing kernel 5.11.15-gentoo-x86_64 (unwanted)
    • /boot/vmlinuz-5.11.15-gentoo-x86_64
    • /boot/System.map-5.11.15-gentoo-x86_64
    • /boot/initramfs-5.11.15-gentoo-x86_64.img
    • /lib/modules/5.11.15-gentoo-x86_64
    • /usr/src/linux-5.11.15-gentoo

This could be unexpected. How about indicating default action like known from make oldconfig? I.e. instead of

[Yes/No]

show

[YES/no]

so it should be clear that pressing Enter without any further input will proceed with removal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant