Skip to content
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
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add warning messages when :program:`pygettext` unimplemented ``-a/--extract-all`` option is called.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this an improvement? (i.e. it links to the doc page for pygettext)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have not checked, it was suggested by @tomasr8 and I believe it is just styling.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes it is just styling, example ("2to3"):

image

2 changes: 1 addition & 1 deletion Tools/i18n/pygettext.py
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ class Options:
if opt in ('-h', '--help'):
usage(0)
elif opt in ('-a', '--extract-all'):
print("DepreciationWarning: -a/--extract-all is not implemented and will be removed in a future version",
print("DeprecationWarning: -a/--extract-all is not implemented and will be removed in a future version",
file=sys.stderr)
options.extractall = 1
elif opt in ('-c', '--add-comments'):
Expand Down
Loading