Fix default config file name

This commit is contained in:
s3lph 2021-09-26 18:49:06 +02:00
parent d23572b8cf
commit eb7e913dd9

View file

@ -12,7 +12,7 @@ import argparse
def parse_arguments():
ap = argparse.ArgumentParser(description='OpenPGP WKS for Human Beings')
ap.add_argument('--config', '-c', metavar='/path/to/config.yml', type=str, nargs=1, default='/etc/easywks.yaml')
ap.add_argument('--config', '-c', metavar='/path/to/config.yml', type=str, nargs=1, default='/etc/easywks.yml')
sp = ap.add_subparsers(description='EasyWKS understands the following commands:', required=True)
init = sp.add_parser('init', help='Initialize the EasyWKS working directory and generate the PGP Key. '