[Tkabber-dev] [tclgpg] r69 committed - Reformat man page...

codesite-noreply at google.com codesite-noreply at google.com
Thu Aug 20 19:14:00 MSD 2009


Revision: 69
Author: khomoutov
Date: Thu Aug 20 08:13:30 2009
Log: Reformat man page

* $token replaced with $gpg throughout the document
   to better reflect the purpose of this token.
* Added [set varName ...] declarations to the commands
   returning tokens to better display the nature
   of their operation.

http://code.google.com/p/tclgpg/source/detail?r=69

Modified:
  /trunk/ChangeLog
  /trunk/doc/gpg.man

=======================================
--- /trunk/ChangeLog	Thu Aug 20 07:56:18 2009
+++ /trunk/ChangeLog	Thu Aug 20 08:13:30 2009
@@ -17,6 +17,8 @@
  	  - Corrected error message [set] returns when
  	    the option being queried is not set.

+	* doc/gpg.man: Reformatted man page.
+
  2009-08-16  Sergei Golovan  <sgolovan at nes.ru>

  	* tclgpg.tcl: Moved error generating code to a separate procedure.
=======================================
--- /trunk/doc/gpg.man	Thu Aug 20 04:52:29 2009
+++ /trunk/doc/gpg.man	Thu Aug 20 08:13:30 2009
@@ -16,28 +16,28 @@
  [section "COMMANDS"]

  [list_begin definitions]
-[call [cmd "::gpg::new"]]
+[call [cmd set] [arg gpg] \[[cmd ::gpg::new]\]]

  Create a new GPG context token.

-[call [cmd "\$token"] [arg "free"]]
+[call [cmd "\$gpg"] [arg "free"]]

  Destroy GPG token and free its resources.

-[call [cmd "\$token"] \
+[call [cmd "\$gpg"] \
        [arg "set"] \
        [arg "-property property"] \
        [opt [arg "-value value"]]]

  Set or query a specified property.

-[call [cmd "\$token"] \
+[call [cmd "\$gpg"] \
          [arg "unset"] \
          [arg "-property property"]]

  Unset a specified property.

-[call [cmd "\$token"] \
+[call [cmd "\$gpg"] \
        [arg "list-keys"] \
        [opt [arg "-patterns patterns"]] \
        [opt [arg "-secretonly boolean"]] \
@@ -46,13 +46,13 @@
  Return list of key tokens which match any of a specified patterns in the
  patterns list [arg patterns].

-[call [cmd "\$token"] \
+[call [cmd "\$gpg"] \
        [arg "info-key"] \
        [arg "-key keytoken"]]

  Return a serialized array of key properties.

-[call [cmd "\$token"] \
+[call [cmd "\$gpg"] \
        [arg "encrypt"] \
        [arg "-input input"] \
        [opt [arg "-recipients recipients"]] \
@@ -61,7 +61,7 @@

  Encrypt message (using either symmetric or asymmetric algorithm).

-[call [cmd "\$token"] \
+[call [cmd "\$gpg"] \
        [arg "decrypt"] \
        [arg "-input input"] \
        [opt [arg "-checkstatus boolean"]] \
@@ -69,7 +69,7 @@

  Decrypt message.

-[call [cmd "\$token"] \
+[call [cmd "\$gpg"] \
        [arg "sign"] \
        [arg "-input input"] \
        [opt [arg "-mode mode"]] \
@@ -77,7 +77,7 @@

  Sign message.

-[call [cmd "\$token"] \
+[call [cmd "\$gpg"] \
        [arg "verify"] \
        [arg "-signature signature"] \
        [opt [arg "-input input"]] \
@@ -85,7 +85,7 @@

  Verify signature.

-[call [cmd "::gpg::recipient"]]
+[call [cmd set] [arg recipient] \[[cmd ::gpg::recipient]\]]

  Create recipients token.



More information about the Tkabber-dev mailing list