You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ob...@apache.org on 2021/11/25 16:55:00 UTC
[incubator-streampipes-installer] 01/01: [STREAMPIPES-477] CLI logs service optional
This is an automated email from the ASF dual-hosted git repository.
obermeier pushed a commit to branch obermeier-patch-1
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes-installer.git
commit 00eb78aadbafba688ccae9e2bcb83d0c1e58a858
Author: Stefan Obermeier <gi...@stefan-obermeier.de>
AuthorDate: Thu Nov 25 17:54:53 2021 +0100
[STREAMPIPES-477] CLI logs service optional
---
cli/bin/commands/logs | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/cli/bin/commands/logs b/cli/bin/commands/logs
index 39b378c..b317e66 100755
--- a/cli/bin/commands/logs
+++ b/cli/bin/commands/logs
@@ -40,12 +40,11 @@ while [[ "$#" -gt 0 ]]; do
case $1 in
-f|--follow)
if [ -n "$2" ] && [ ${2:0:1} != "-" ]; then
- follow=true
svc=$2
- shift 2
- else
- fatal "Argument for $1 is missing" >&2
+ shift 1
fi
+ follow=true
+ shift 1
;;
-*|--*=) fatal "Unsupported flag $1, see 'streampipes ${0##*/} --help'" >&2 ;;
*)