changeset 181:678c1c1a2617

fix issue with default timestamp format in main arguments
author Amine Sehili <amine.sehili@gmail.com>
date Wed, 27 Mar 2019 20:41:19 +0100
parents 8ee7f461b82e
children c07f1620e5b0
files auditok/cmdline.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/auditok/cmdline.py	Wed Mar 27 20:35:02 2019 +0100
+++ b/auditok/cmdline.py	Wed Mar 27 20:41:19 2019 +0100
@@ -305,7 +305,7 @@
             type=str,
             default="%Y/%m/%D %H:%M:%S",
             help="format used to print {timestamp}. Should be a format accepted by "
-            "datetime Default %Y/%m/%D %H:%M:%S",
+            "datetime Default %%Y/%%m/%%D %%H:%%M:%%S",
         )
 
         parser.add_argument(