diff options
Diffstat (limited to 'src/kyclogic/taler-exchange-helper-measure-test-oauth')
-rwxr-xr-x | src/kyclogic/taler-exchange-helper-measure-test-oauth | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/kyclogic/taler-exchange-helper-measure-test-oauth b/src/kyclogic/taler-exchange-helper-measure-test-oauth index 4c833d6e2..92835e36f 100755 --- a/src/kyclogic/taler-exchange-helper-measure-test-oauth +++ b/src/kyclogic/taler-exchange-helper-measure-test-oauth @@ -28,7 +28,7 @@ function exit_fail() { CONF="$HOME/.config/taler-exchange.conf" VERBOSE=0 -while getopts 'ac:hrvV' OPTION; +while getopts 'ac:hirvV' OPTION; do case "$OPTION" in a) @@ -49,10 +49,16 @@ do # shellcheck disable=SC2016 echo ' -c $CONF -- set configuration' echo ' -h -- print this help' + echo ' -i -- show required inputs' echo ' -r -- show required context' echo ' -v -- show version' echo ' -V -- be verbose' ;; + i) + # Only attribute inputs are required + echo "attributes" + exit 0 + ;; r) # No context is required. exit 0 @@ -88,7 +94,7 @@ J=$(echo "$A" | jq -r 'def get($k): # Here we could use those values... echo "$J" >> /dev/null -# See https://docs.taler.net/taler-exchange-manual.html#tsref-type-AmlProgramInput +# See https://docs.taler.net/taler-kyc-manual.html#tsref-type-AmlProgramInput # for the full JSON with possible inputs. # New rules apply for 30 days. |