Add timestamp description
This commit is contained in:
@@ -13,7 +13,12 @@ DEFAULT_SUFFIX = ".bak"
|
||||
DEFAULT_TIMESTAMP_FORMAT = "%Y%m%d"
|
||||
|
||||
# Argument parser
|
||||
parser = argparse.ArgumentParser(description="Cleanup old backups")
|
||||
parser = argparse.ArgumentParser(
|
||||
description="Cleanup old backups",
|
||||
epilog = "For a complete timestamp format description, see the python strftime() " +
|
||||
"documentation: https://docs.python.org/3/library/datetime.html" +
|
||||
"#strftime-strptime-behavior"
|
||||
)
|
||||
# path argument
|
||||
parser.add_argument(
|
||||
"path",
|
||||
|
||||
Reference in New Issue
Block a user