From 1aea72c6f28c416582e73034b5c5749e2d60dd0d Mon Sep 17 00:00:00 2001 From: Dave Dykstra <2129743+DrDaveD@users.noreply.github.com> Date: Fri, 20 Jun 2025 11:54:49 -0500 Subject: [PATCH] add [-s|-f] to htdecodetoken usage --- htdecodetoken | 2 +- htgettoken.spec | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/htdecodetoken b/htdecodetoken index e6f7b6e..fe82b8a 100755 --- a/htdecodetoken +++ b/htdecodetoken @@ -6,7 +6,7 @@ usage() { - echo 'Usage: htdecodetoken [-a] [-H] [file]' + echo 'Usage: htdecodetoken [-a] [-H] [-s|-f] [file]' echo echo 'Decodes a JSON Web Token' echo ' -a: show algorithm portion of JWT' diff --git a/htgettoken.spec b/htgettoken.spec index 2f24c72..f69b978 100644 --- a/htgettoken.spec +++ b/htgettoken.spec @@ -74,6 +74,8 @@ rm -rf $RPM_BUILD_ROOT %changelog +# - Add the new -s and -f options to the htdecodetoken usage. + * Fri Jun 20 2025 Dave Dykstra 2.3-1 - Add "-s" and "-f" options to htdecodetoken and default it to "-s" when stdout is not a TTY.