From 0836152aed30145bb133c86c0360587bb8797fb3 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Tue, 23 Mar 2021 11:24:12 +0100 Subject: print common arguments This makes the output from running example.sh contain all information needed to try out the log. --- client/cmd/example.sh | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.3