diff options
author | wustho <benawiadha@gmail.com> | 2020-03-01 20:31:12 +0700 |
---|---|---|
committer | wustho <benawiadha@gmail.com> | 2020-03-01 20:31:12 +0700 |
commit | 7095419716f926c777419de8065202597795f539 (patch) | |
tree | 2b7d15dc7aa7f8534e85f06157b3b6ff1f9456e0 | |
parent | 898fa943070b82580f402b32d9d11902f440a0fc (diff) | |
download | epy-7095419716f926c777419de8065202597795f539.tar.gz |
Fixed minor help message issue.
-rwxr-xr-x | epy.py | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -1195,10 +1195,7 @@ def main(): args += sys.argv[1:] if len({"-h", "--help"} & set(args)) != 0: - hlp = __doc__.rstrip() - if "-h" in args: - hlp = re.search("(\n|.)*(?=\n\nKey)", hlp).group() - print(hlp) + print(__doc__.rstrip()) sys.exit() loadstate() |