Explorar o código

Improve docs for --cookie option

Immanuel Häussermann %!s(int64=11) %!d(string=hai) anos
pai
achega
7f3ef750b7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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"));