浏览代码

Improve docs for --cookie option

Immanuel Häussermann 11 年之前
父节点
当前提交
7f3ef750b7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/shared/commonarguments.cc

+ 1 - 1
src/shared/commonarguments.cc

@@ -215,7 +215,7 @@ void CommandLineParserBase::addPageLoadArgs(LoadPage & s) {
 	addarg("window-status",0,"Wait until window.status is equal to this string before rendering page", new QStrSetter(s.windowStatus, "windowStatus"));
 
 	addarg("zoom",0,"Use this zoom factor", new FloatSetter(s.zoomFactor,"float",1.0));
-	addarg("cookie",0,"Set an additional cookie (repeatable)", new MapSetter<>(s.cookies, "name", "value"));
+	addarg("cookie",0,"Set an additional cookie (repeatable), value should be url encoded.", new MapSetter<>(s.cookies, "name", "value"));
 	addarg("post", 0, "Add an additional post field (repeatable)", new MapSetter<PostItemCreator<false> >(s.post, "name", "value"));
 	addarg("post-file", 0, "Post an additional file (repeatable)", new MapSetter<PostItemCreator<true> >(s.post, "name", "path"));