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

Correct the write option from -w to --write in the readme #156

Merged
merged 2 commits into from
Jan 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ Start quickly

.. code:: sh

$ pymend myfile.py # will generate a patch
$ pymend -w myfile.py # will overwrite the file
$ pymend myfile.py # will generate a patch
$ pymend --write myfile.py # will overwrite the file

- get help:

Expand Down
2 changes: 1 addition & 1 deletion tests/test_pymend/test_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ def run_pymend_app_with_a_file_and_assert_is_expected(
file_contents : str
write this into the temporary file
cmd_args : str
Arguments to pymend - do not put the '-w' argument here -
Arguments to pymend - do not put the '--write' argument here -
it is triggered by overwrite_mode (Default value = "")
overwrite_mode : bool
set to True if in overwrite mode (Default value = False)
Expand Down
Loading