15 |
15 |
16 # |
16 # |
17 # Argument processing |
17 # Argument processing |
18 # |
18 # |
19 |
19 |
|
20 epilog_format=""" |
|
21 Configuration file location: |
|
22 |
|
23 %s |
|
24 |
|
25 Log directory: |
|
26 |
|
27 %s/ |
|
28 """ |
|
29 |
20 parser=argparse.ArgumentParser( |
30 parser=argparse.ArgumentParser( |
21 description=branding.appname_stylised + ": BorgBackup scheduler, queue, and tray icon.", |
31 description=branding.appname_stylised + ": BorgBackup scheduler, queue, and tray icon.", |
22 epilog='Configuration file location:\n\n %s\n ' % locations.cfgfile, |
32 epilog=epilog_format % (locations.cfgfile, locations.logs_dir), |
23 formatter_class=argparse.RawDescriptionHelpFormatter) |
33 formatter_class=argparse.RawDescriptionHelpFormatter) |
24 |
34 |
25 parser.add_argument( |
35 parser.add_argument( |
26 '--no-tray', |
36 '--no-tray', |
27 dest='notray', |
37 dest='notray', |