diff options
Diffstat (limited to 'pyfingerd/cli.py')
-rwxr-xr-x | pyfingerd/cli.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyfingerd/cli.py b/pyfingerd/cli.py index e184c0c..409b376 100755 --- a/pyfingerd/cli.py +++ b/pyfingerd/cli.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # ***************************************************************************** -# Copyright (C) 2021 Thomas Touhey <thomas@touhey.fr> +# Copyright (C) 2021-2022 Thomas Touhey <thomas@touhey.fr> # This file is part of the pyfingerd project, which is MIT-licensed. # ***************************************************************************** """ pyfingerd CLI interface. """ @@ -69,7 +69,7 @@ __all__ = ['cli'] @_click.option( '-S', '--start', 'scenario_start', type=_click.DateTime(), - default=_datetime.now(), + default=_datetime.now().strftime('%Y-%m-%dT%H:%M:%S'), envvar=('FINGER_START',), help=( 'Date and time at which the scenario starts or has started ' |