feature(syndesis): Also open SDH when --man given without command
@@ -222,8 +222,12 @@ function run {
exit 0
fi
- if [ -n "${command:-}" ] && [ $(hasflag --man) ]; then
+ if [ $(hasflag --man) ]; then
+ if [ -n "${command:-}" ]; then
open_url "https://doc.syndesis.io/#syndesis-${command}"
+ else
+ open_url "https://doc.syndesis.io"
+ fi
exit 0
fi
