Skip to content

Fix option parsing#18

Open
laggardkernel wants to merge 2 commits into
MikeDacre:masterfrom
laggardkernel:fix-option-parsing
Open

Fix option parsing#18
laggardkernel wants to merge 2 commits into
MikeDacre:masterfrom
laggardkernel:fix-option-parsing

Conversation

@laggardkernel
Copy link
Copy Markdown

Long options like --verbose are not parsed correctly. I tried to parse --verbose, --force in this pr. But some other options like --interactive=always are not covered. Using these uncovered options are very dangerous, -s shred may be switched on.

Besides, when -f, --force is passed, prompt for confirmation should be skipped.

Skip the prompt when -f, --force is used.
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

Successfully merging this pull request may close these issues.

1 participant