p=ArgumentParser("Check for pads that have changed since last sync (according to .meta.json)")
p=ArgumentParser("Check for pads that have changed since last sync (according to .meta.json)")
@ -46,19 +64,24 @@ def main (args):
p.add_argument("--zerorevs",default=False,action="store_true",help="include pads with zero revisions, default: False (i.e. pads with no revisions are skipped)")
p.add_argument("--zerorevs",default=False,action="store_true",help="include pads with zero revisions, default: False (i.e. pads with no revisions are skipped)")
p.add_argument("--skip",default=None,type=int,help="skip this many items, default: None")
p.add_argument("--skip",default=None,type=int,help="skip this many items, default: None")
p.add_argument("--type",default="lastchanges",help="type of feed, default: lastchanges")
p.add_argument("--type",default="recentchanges",help="type of feed, default: recentchanges")
p.add_argument("--limit",type=int,default=10,help="number of items, default: 10")
p.add_argument("--updatePeriod",default="daily",help="updatePeriod, possible values: hourly, daily, weekly, monthly, yearly; default: daily")
p.add_argument("--updatePeriod",default="daily",help="updatePeriod, possible values: hourly, daily, weekly, monthly, yearly; default: daily")
p.add_argument("--updateFrequency",default=1,type=int,help="update frequency within the update period (where 2 would mean twice per period); default: 1")
p.add_argument("--updateFrequency",default=1,type=int,help="update frequency within the update period (where 2 would mean twice per period); default: 1")
p.add_argument("--padurl",default=None,help="to use as channel link, default: padurl")
p.add_argument("--siteurl",default=None,help="to use as channel's site link, default: the etherpadurl")
p.add_argument("--feedurl",default="feed.xml",help="to use as feeds own (self) link, default: feed.xml")
p.add_argument("--feedurl",default="feed.xml",help="to use as feeds own (self) link, default: feed.xml")
p.add_argument("--link",default="diffhtml,html,text",help="version to use as link, can be comma-delim list, use first avail, default: diffhtml,html,text")
p.add_argument("--linkbase",default=None,help="base url to use for links, default: try to use the feedurl")