From: Siraaj Khandkar Date: Mon, 30 Jul 2018 14:44:34 +0000 (-0400) Subject: Use underscore in CLI options X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;h=1ad52d1371013c8171e1d1913bfa1d4230036b76;p=khatus.git Use underscore in CLI options --- diff --git a/bin/khatus b/bin/khatus index 99e1628..6893d7b 100755 --- a/bin/khatus +++ b/bin/khatus @@ -665,9 +665,9 @@ main() { # User-overrides long_options='' long_options+='debug' - long_options+=',data-dir:' - long_options+=',weather-station:' - long_options+=',screen-device:' + long_options+=',data_dir:' + long_options+=',weather_station:' + long_options+=',screen_device:' long_options+=',prefixes_of_net_interfaces_to_show:' long_options+=',disk_space_device:' long_options+=',thermal_zone:' @@ -686,15 +686,15 @@ main() { debug=1 shift ;; - --data-dir) + --data_dir) dir_data="$2" shift 2 ;; - --weather-station) + --weather_station) weather_station_id="$2" shift 2 ;; - --screen-device) + --screen_device) screen_brightness_device_name="$2" shift 2 ;;