From 552dc686a8e8a980352444c2def7861b8ff172f8 Mon Sep 17 00:00:00 2001
From: Jonas Smedegaard <dr@jones.dk>
Date: Sat, 25 Feb 2017 11:59:15 +0100
Subject: Fix getopt options.

---
 localgit-remote-init-push | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'localgit-remote-init-push')

diff --git a/localgit-remote-init-push b/localgit-remote-init-push
index 5d0ab93..80600fa 100755
--- a/localgit-remote-init-push
+++ b/localgit-remote-init-push
@@ -33,7 +33,7 @@ exit1() {
 }
 
 # parse cmdline options
-TEMP="`getopt -s h -l help -n "$PRG" -- "$@"`" || exit1
+TEMP="`getopt -s -s sh -o h -l help -n "$PRG" -- "$@"`" || exit1
 eval set -- "$TEMP"
 while true; do
 	case "$1" in
-- 
cgit v1.2.3