浏览代码

Document the output of --version

Closes 28889
Nick Mathewson 7 年之前
父节点
当前提交
508837b62b
共有 2 个文件被更改,包括 4 次插入1 次删除
  1. 2 0
      changes/document_version
  2. 2 1
      doc/tor.1.txt

+ 2 - 0
changes/document_version

@@ -0,0 +1,2 @@
+  o Documentation:
+    - Document the exact output of "tor --version". Closes ticket 28889.

+ 2 - 1
doc/tor.1.txt

@@ -89,7 +89,8 @@ COMMAND-LINE OPTIONS
     future version. (This is a warning, not a promise.)
 
 [[opt-version]] **--version**::
-    Display Tor version and exit.
+    Display Tor version and exit. The output is a line of the format,
+    "Tor version [version number]."
 
 [[opt-quiet]] **--quiet**|**--hush**::
     Override the default console log.  By default, Tor starts out logging