Skip to content

Commit

Permalink
Merge pull request #15 from 42mgr/spelling-fix
Browse files Browse the repository at this point in the history
Corrected spelling to 'writing'.
  • Loading branch information
cacharle authored Nov 7, 2022
2 parents 8fe68d9 + 1992d8c commit 0c0c0b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ positional arguments:
optional arguments:
-h, --help show this help message and exit
-c, --confirm Ask confirmation before overwritting any file
-c, --confirm Ask confirmation before overwriting any file
```

---
Expand Down
4 changes: 2 additions & 2 deletions c_formatter_42/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def main():
arg_parser.add_argument(
"-c", "--confirm",
action="store_true",
help="Ask confirmation before overwritting any file"
help="Ask confirmation before overwriting any file"
)
arg_parser.add_argument(
"filepaths",
Expand All @@ -50,7 +50,7 @@ def main():
.format(filepath))
if result != "y":
continue
print("Writting to {}".format(filepath))
print("Writing to {}".format(filepath))
with open(filepath, "w") as file:
file.write(run_all(content))
except OSError as e:
Expand Down

0 comments on commit 0c0c0b5

Please sign in to comment.