~yerinalexey/pcrond

28172eefb4b76abde021162238e77ed69acd1d9b — Alexey Yerin 5 months ago f72e3e1
refactor!: default to ~/.config/pcrond/crontab
1 files changed, 2 insertions(+), 2 deletions(-)

M scripts/pcrond
M scripts/pcrond => scripts/pcrond +2 -2
@@ 7,11 7,11 @@ def parse_args():
    import path
    import os

    default_crontab = path.join(os.environ["HOME"], ".local/crontab")
    default_crontab = path.join(os.environ["HOME"], ".config/pcrond/crontab")

    parser = argparse.ArgumentParser(description='Launch a crond-like daemon in userspace.')
    parser.add_argument('-r', '--crontabfile',
                        help='the crontab file (default ~/.local/crontab)',
                        help='the crontab file (default ~/.config/pcrond/crontab)',
                        default=default_crontab)
    parser.add_argument('-v', '--version', action='store_true', help='print version then exit')
    args = parser.parse_args()