(Arne Babenhauserheide)
2012-08-11: rename the push option to --sitename to conform to what I always rename the push option to --sitename to conform to what I always used…
diff --git a/staticsite.py b/staticsite.py --- a/staticsite.py +++ b/staticsite.py @@ -797,13 +797,13 @@ def ftppush(orig, *args, **opts): target = "._site" ftpstring = path.replace("ftp://", "") # fix the options to fit those of the site command - opts["name"] = opts["sitetitle"] + opts["name"] = opts["sitename"] opts["upload"] = ftpstring staticsite(ui, repo, target, **opts) return 0 # really wrap the command -siteopts = [('', 'sitetitle', "", 'staticsite: the title of the site. Default: folder or last segment of the repo-path.'), +siteopts = [('', 'sitename', "", 'staticsite: the title of the site. Default: folder or last segment of the repo-path.'), ('', 'screenstyle', "", 'use a custom stylesheet for display on screen'), ('', 'printstyle', "", 'use a custom stylesheet for printing')] entry = extensions.wrapcommand(commands.table, "push", ftppush)