|
|
@ -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
|
|
|
|