Skip to content

Commit 82dcb2d

Browse files
committed
Fake --remote flag
1 parent 52e14c6 commit 82dcb2d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/bin/ghe-redis-cli

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ while true; do
1818
echo "fake redis data" > "$GHE_REMOTE_DATA_USER_DIR/redis/dump.rdb"
1919
break
2020
;;
21-
-h)
22-
# Fake accepting hostname argument
23-
shift 2
21+
--remote)
22+
# Fake accepting remote flag argument
23+
shift 3
2424
;;
2525
*)
26-
echo "unexpected redis-cli command: $1" 1>&2
26+
echo "unexpected ghe-redis-cli command: $1" 1>&2
2727
exit 1
2828
;;
2929
esac

0 commit comments

Comments
 (0)