~yerinalexey/pcrond

f8b1b2738294d0291f0e99b80d23a55a74edc2cf — Alexey Yerin 5 months ago 28172ee
refactor!: rename -r CLI option

Now it's -c (from crontab/config) which makes much more sense.
1 files changed, 1 insertions(+), 1 deletions(-)

M scripts/pcrond
M scripts/pcrond => scripts/pcrond +1 -1
@@ 10,7 10,7 @@ def parse_args():
    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',
    parser.add_argument('-c', '--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')