summaryrefslogtreecommitdiff
path: root/localgit-remote-init-push
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-02-25 11:59:15 +0100
committerJonas Smedegaard <dr@jones.dk>2017-02-25 11:59:15 +0100
commit552dc686a8e8a980352444c2def7861b8ff172f8 (patch)
tree6eb98e4de47fc27d44a31cd4d5356c764a4deca5 /localgit-remote-init-push
parent640cb6fc116be1568cad6d2338b8bd7781cbf2b7 (diff)
Fix getopt options.
Diffstat (limited to 'localgit-remote-init-push')
-rwxr-xr-xlocalgit-remote-init-push2
1 files changed, 1 insertions, 1 deletions
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