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

adding -f flag to stop 'patch' from asking any question #1

Open
wants to merge 1 commit into
base: issue-178
Choose a base branch
from

Conversation

waleedq
Copy link

@waleedq waleedq commented Dec 10, 2018

Sometimes the --dry-run will go into interactive mode to ask if these patches are Reversed or not, using -f flag would force 'patch' to stop asking any question and return the result from --dry-run.

As documented in patch man-pages

-f or --force
Assume that the user knows exactly what he or she is doing, and do
not ask any questions. Skip patches whose headers do not say
which file is to be patched; patch files even though they have the
wrong version for the Prereq: line in the patch; and assume that
patches are not reversed even if they look like they are. This
option does not suppress commentary; use -s for that.

Creating this pull request so it can update PR in cweagans#202.

Thank You.

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