google / google/python-fire

Missing helptext for multiline argument.

Đang mở
#309 4 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
28.2k
Fork
1.5k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Only the first line of help text is displayed for argument `name`.
Thanks @orkun1675 for reporting.

def foo(self, name):
"""Greets name.

Arguments:
name: The person to greet. This is a very long line that has to be word
wrapped and contains a colon (:) in it.
"""
print('Hello %s' % name)

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.