aboutsummaryrefslogtreecommitdiff
path: root/client/cmd
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2021-03-23 11:24:12 +0100
committerLinus Nordberg <linus@nordberg.se>2021-03-23 11:24:12 +0100
commit0836152aed30145bb133c86c0360587bb8797fb3 (patch)
treedfb54da6a035139a966fe44e3b52aee727767746 /client/cmd
parent569ef0b9a4b16a1b4c7011653ea4443e41ca74c1 (diff)
print common arguments
This makes the output from running example.sh contain all information needed to try out the log.
Diffstat (limited to 'client/cmd')
-rwxr-xr-xclient/cmd/example.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/client/cmd/example.sh b/client/cmd/example.sh
index 73395ad..7c37ff5 100755
--- a/client/cmd/example.sh
+++ b/client/cmd/example.sh
@@ -10,6 +10,10 @@ cd $tmpdir
commonargs="--log_id $ns --log_url $log_url" # --logtostderr -v 3
pause="sleep 1"
+echo "arguments used:"
+echo $commonargs
+echo ""
+
echo "fetching sth..."
get-sth $commonargs | tee sth1.output
echo "" && $pause