commit c84067394d35392fa5c8db0deaec49ff1f4b44bc
parent 8592f981569a907a54e22180a181f7a607ffd45f
Author: Frederic Cambus <fcambus@users.sourceforge.net>
Date: Sun, 4 May 2014 23:31:27 +0200
Merge pull request #55 from thirota/fix-getopts-optstring
fix getopts optstring
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ansiweather b/ansiweather
@@ -90,7 +90,7 @@ forecast=$(get_config "forecast" || echo 0)
daylight=$(get_config "daylight" || echo false)
# Or get config options from command line flags
-while getopts :l:u:s:f:Fd: option
+while getopts l:u:s:f:Fd: option
do
case "${option}"
in