- ( echo "Khatus starting with the following parameters:"
- ( echo " debug|= $debug"
- echo " dir_bin|= $dir_bin"
- echo " dir_data|= $dir_data"
- echo " pipe|= $pipe"
- echo " screen_brightness_device_name|= $screen_brightness_device_name"
- echo " screen_brightness_device_path|= $screen_brightness_device_path"
- echo " weather_station_id|= $weather_station_id"
- echo " prefixes_of_net_interfaces_to_show|= $prefixes_of_net_interfaces_to_show"
- echo " disk_space_device|= $disk_space_device"
- echo " disk_io_device|= $disk_io_device"
- echo " thermal_zone|= $thermal_zone"
- echo " fan_path|= $fan_path"
- ) | column -ts\|
- echo ''
+ (
+ echo '=============================================='
+ echo "Khatus starting with the following parameters:"
+ echo '=============================================='
+ for param in \
+ $(echo -n "$long_options" \
+ | awk -v RS=, '{sub(":$", ""); print $0}'
+ )
+ do
+ echo "$param := ${!param}"
+ done \
+ | column -ts:
+ echo '----------------------------------------------'