Mon, 29 Jan 2018 10:00:31 +0000
Show log directory in --help
borgend.py | file | annotate | diff | comparison | revisions |
--- a/borgend.py Mon Jan 29 09:43:39 2018 +0000 +++ b/borgend.py Mon Jan 29 10:00:31 2018 +0000 @@ -17,9 +17,19 @@ # Argument processing # +epilog_format=""" +Configuration file location: + + %s + +Log directory: + + %s/ + """ + parser=argparse.ArgumentParser( description=branding.appname_stylised + ": BorgBackup scheduler, queue, and tray icon.", - epilog='Configuration file location:\n\n %s\n ' % locations.cfgfile, + epilog=epilog_format % (locations.cfgfile, locations.logs_dir), formatter_class=argparse.RawDescriptionHelpFormatter) parser.add_argument(