From ee4781c936807da900beb2ab206fbb842fecf416 Mon Sep 17 00:00:00 2001 From: Ernesto Revilla Date: Mon, 24 Mar 2014 13:43:44 +0100 Subject: [PATCH] Improve some doc strings. --- pyx509/commands.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pyx509/commands.py b/pyx509/commands.py index 367191d..09cdbf6 100644 --- a/pyx509/commands.py +++ b/pyx509/commands.py @@ -24,12 +24,15 @@ def print_certificate_info(derData): """ - Print certificate + Print certificate to stdout """ X509Certificate.from_der(derData).display() def print_certificate_info_cmd(): + """ + Print certificate command + """ if len(sys.argv) < 2: print >> sys.stderr, "Usage: %s " % sys.argv[0] sys.exit(1) @@ -38,12 +41,15 @@ def print_certificate_info_cmd(): def print_signature_info(derData): """ - Print certificates of signature + Print signature certificates to stdout """ PKCS7.from_der(derData).display() def print_signature_info_cmd(): + """ + Print signature certificates command + """ if len(sys.argv) < 2: print >> sys.stderr, "Usage: %s " % sys.argv[0] sys.exit(1)