[Pkg-gnupg-commit] [gnupg2] 05/20: doc: expand documentation of PROGRESS message

Daniel Kahn Gillmor dkg at fifthhorseman.net
Fri Dec 1 01:51:49 UTC 2017


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch master
in repository gnupg2.

commit 49635b454b010ec63a30b104af48a49504af7753
Author: Will Thompson <wjt at endlessm.com>
Date:   Tue Nov 14 15:30:34 2017 +0000

    doc: expand documentation of PROGRESS message
    
    --
    This answers two questions that I was only able to answer by examining
    each site where PROGRESS messages are emitted, and fixes a typo.
    
    Signed-off-by: Will Thompson <wjt at endlessm.com>
---
 doc/DETAILS | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/doc/DETAILS b/doc/DETAILS
index 0be55f4..e683e90 100644
--- a/doc/DETAILS
+++ b/doc/DETAILS
@@ -1041,15 +1041,16 @@ pkd:0:1024:B665B1435F4C2 .... FF26ABB:
     - 4 :: Key is stored on a smartcard.
 
 *** PROGRESS <what> <char> <cur> <total> [<units>]
-    Used by the primegen and Public key functions to indicate
+    Used by the primegen and public key functions to indicate
     progress.  <char> is the character displayed with no --status-fd
     enabled, with the linefeed replaced by an 'X'.  <cur> is the
     current amount done and <total> is amount to be done; a <total> of
-    0 indicates that the total amount is not known. The condition
+    0 indicates that the total amount is not known. Both are
+    non-negative integers.  The condition
       :       TOTAL && CUR == TOTAL
     may be used to detect the end of an operation.
 
-    Well known values for WHAT are:
+    Well known values for <what> are:
 
            - pk_dsa   :: DSA key generation
            - pk_elg   :: Elgamal key generation
@@ -1064,7 +1065,9 @@ pkd:0:1024:B665B1435F4C2 .... FF26ABB:
                           the data of a smartcard.
            - card_busy :: A smartcard is still working
 
-    <units> is sometines used to describe the units for <current> and
+    When <what> refers to a file path, it may be truncated.
+
+    <units> is sometimes used to describe the units for <current> and
     <total>.  For example "B", "KiB", or "MiB".
 
 *** BACKUP_KEY_CREATED <fingerprint> <fname>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git



More information about the Pkg-gnupg-commit mailing list