diff options
author | Linus Nordberg <linus@nordberg.se> | 2021-03-23 11:24:12 +0100 |
---|---|---|
committer | Linus Nordberg <linus@nordberg.se> | 2021-03-23 11:24:12 +0100 |
commit | 0836152aed30145bb133c86c0360587bb8797fb3 (patch) | |
tree | dfb54da6a035139a966fe44e3b52aee727767746 | |
parent | 569ef0b9a4b16a1b4c7011653ea4443e41ca74c1 (diff) |
print common arguments
This makes the output from running example.sh contain all information
needed to try out the log.
-rwxr-xr-x | client/cmd/example.sh | 4 |
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 |