Properly format supported configs
This commit is contained in:
parent
fc53cfd1f8
commit
f5287f1588
1 changed files with 2 additions and 1 deletions
3
yadm
3
yadm
|
@ -748,6 +748,7 @@ function config() {
|
||||||
# with no parameters, provide some helpful documentation
|
# with no parameters, provide some helpful documentation
|
||||||
echo "yadm supports the following configurations:"
|
echo "yadm supports the following configurations:"
|
||||||
echo
|
echo
|
||||||
|
local IFS=$'\n'
|
||||||
for supported_config in $(introspect_configs); do
|
for supported_config in $(introspect_configs); do
|
||||||
echo " ${supported_config}"
|
echo " ${supported_config}"
|
||||||
done
|
done
|
||||||
|
@ -980,7 +981,7 @@ EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
function introspect_configs() {
|
function introspect_configs() {
|
||||||
cat << EOF
|
cat <<-EOF
|
||||||
local.class
|
local.class
|
||||||
local.hostname
|
local.hostname
|
||||||
local.os
|
local.os
|
||||||
|
|
Loading…
Reference in a new issue