Skip to content

Commit

Permalink
Update xingdumper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
l4rm4nd authored Jun 12, 2024
1 parent b859edc commit 4e09635
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions xingdumper.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,11 @@
special_char_map = {ord('ä'):'ae', ord('ü'):'ue', ord('ö'):'oe', ord('ß'):'ss'}

format_examples = '''
[1] john.doe@example.com > '{0}.{1}@example.com'
[2] j.doe@example.com > '{0[0]}.{1}@example.com'
[3] jdoe@example.com > '{0[0]}{1}@example.com'
[4] doe@example.com > '{1}@example.com'
[5] john@example.com > '{0}@example.com'
[6] jd@example.com > '{0[0]}{1[0]}@example.com'
--email-format '{0}.{1}@example.com' --> john.doe@example.com
--email-format '{0[0]}.{1}@example.com' --> j.doe@example.com
--email-format '{1}@example.com' --> doe@example.com
--email-format '{0}@example.com' --> john@example.com
--email-format '{0[0]}{1[0]}@example.com' --> jd@example.com
'''

parser = argparse.ArgumentParser("xingdumper.py", formatter_class=RawTextHelpFormatter)
Expand Down

0 comments on commit 4e09635

Please sign in to comment.