aboutsummaryrefslogtreecommitdiffstats
path: root/epy.py
diff options
context:
space:
mode:
Diffstat (limited to 'epy.py')
-rwxr-xr-xepy.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/epy.py b/epy.py
index d77ee3c..e174282 100755
--- a/epy.py
+++ b/epy.py
@@ -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()