From: Steven Baltakatei Sandoval <baltakatei@gmail.com>
Date: Sun, 5 Jul 2020 01:13:44 +0000 (+0000)
Subject: doc(unitproc):checkAgePubkey: Added comment about stderr output
X-Git-Tag: 0.3.0~58
X-Git-Url: https://zdv2.bktei.com/gitweb/BK-2020-03.git/commitdiff_plain/e5ae7ef477cc6aed5f515ba09ec421ecd1c293a3?hp=46e8086f76408b19faeb7d7e72386432c8f0e802

doc(unitproc):checkAgePubkey: Added comment about stderr output

checkAgePubkey will generate stderr if the function is provided an
'age' incompatible string
---

diff --git a/unitproc/bktemp-checkAgePubkey b/unitproc/bktemp-checkAgePubkey
index 6b08879..12f2044 100644
--- a/unitproc/bktemp-checkAgePubkey
+++ b/unitproc/bktemp-checkAgePubkey
@@ -3,10 +3,11 @@
 checkAgePubkey() {
     # Desc: Checks if string is an age-compatible pubkey
     # Usage: checkAgePubkey [str pubkey]
-    # Version: 0.1.1
+    # Version: 0.1.2
     # Input: arg1: string
     # Output: return code 0: string is age-compatible pubkey
     #         return code 1: string is NOT an age-compatible pubkey
+    #         age stderr (ex: there is stderr if invalid string provided)
     # Depends: age (v0.1.0-beta2; https://github.com/FiloSottile/age/releases/tag/v1.0.0-beta2 )
     
     argPubkey="$1";