feat: improve help output
This commit is contained in:
parent
2ccdd4602b
commit
23b6b78b64
1 changed files with 4 additions and 3 deletions
|
@ -15,10 +15,11 @@ log = logging.getLogger('nyacme')
|
|||
def main() -> None:
|
||||
parser = argparse.ArgumentParser(
|
||||
prog='nyacme',
|
||||
description='fun uacme wrapper'
|
||||
description='fun uacme wrapper',
|
||||
formatter_class=argparse.ArgumentDefaultsHelpFormatter
|
||||
)
|
||||
parser.add_argument('-c', '--config', default='/etc/nyacme.toml')
|
||||
parser.add_argument('-o', '--output', default='/etc/ssl/uacme')
|
||||
parser.add_argument('-c', '--config', help='path to your config file', default='/etc/nyacme.toml')
|
||||
parser.add_argument('-o', '--output', help='path to the certificate output directory', default='/etc/ssl/uacme')
|
||||
args = parser.parse_args()
|
||||
|
||||
config = read_config(args.config)
|
||||
|
|
Loading…
Reference in a new issue