# HG changeset patch # User Tuomo Valkonen # Date 1517220031 0 # Node ID a1d3721ef5fae2576602afe45b76012eace1fc61 # Parent f53aa2007a842438e08a32428153a7557bbfd5d3 Show log directory in --help diff -r f53aa2007a84 -r a1d3721ef5fa borgend.py --- 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(