Skip to content

Commit

Permalink
args fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SnowMB committed Aug 4, 2018
1 parent 129e237 commit 0c9e004
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,9 @@ def handle(self, event):
if __name__ == "__main__":
parser = argparse.ArgumentParser(
description='Extract traefik letsencrypt certificates.')
parser.add_argument('FILE', nargs='?', default='acme.json', type=PathType(
parser.add_argument('-c', '--certificate', default='acme.json', type=PathType(
exists=True), help='file that contains the traefik certificates (default acme.json)')
parser.add_argument('OUTPUT', nargs='?', default='.',
parser.add_argument('-d', '--directory', default='.',
type=PathType(type='dir'), help='output folder')
parser.add_argument('-f', '--flat', action='store_true',
help='outputs all certificates into one folder')
Expand Down

0 comments on commit 0c9e004

Please sign in to comment.