Skip to content

Commit

Permalink
Fix regexp
Browse files Browse the repository at this point in the history
  • Loading branch information
olebole committed Oct 20, 2024
1 parent c009588 commit 60387fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/irafdocs.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def get_help(task, device="text", option="help"):


def get_menu(task):
menu_re = re.compile(r"\A\s*(\w+) [-\*] (\w.+)")
menu_re = re.compile(r"\A\s*(\w+)\s*[-\*] (\w.+)")
pkgname = task.getName()
menu = list()
lines = get_help(task)
Expand Down

0 comments on commit 60387fa

Please sign in to comment.