add -cd for -cdb

This commit is contained in:
me 2024-01-09 22:14:48 +01:00
parent 33270d380f
commit 0ec4537d96

2
hgh.py
View file

@ -18,7 +18,7 @@ group0.add_argument("--sites", help="Print all sites from from configuration", d
group2.add_argument("--create-comments-file", help="Create a comments.json in current working directory with given amount of comments.", dest='create_comments_file', action="store_true")
group2.add_argument("-cpb", "--create-pagebundle", help="Create new page bundle. Add --template for specific template to use.", dest='create_pagebundle', action="store", type=str, default = None)
group2.add_argument("--time", help="Copy current date and time to clipboard.", dest='time', action="store_true")
group2.add_argument("-cdb", help="Change directory to base directory of site.", dest='cdb', action="store_true")
group2.add_argument("-cd", "-cdb", help="Change directory to base directory of site.", dest='cdb', action="store_true")
group2.add_argument("-cdc", help="Change directory to contentdir of site.", dest='cdc', action="store_true")
group2.add_argument("-cdl", help="Change directory to alternative contentdir of site.", dest='cdl', action="store_true")
group2.add_argument("--build", help="Build a site.", dest='site_build', action="store_true")