Skip to content

Commit a17f5c5

Browse files
committed
Add dark mode to CLI options
1 parent 88988b9 commit a17f5c5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

reStream.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,12 @@ while [ $# -gt 0 ]; do
9999
unsecure_connection=true
100100
shift
101101
;;
102-
--dark-mode)
102+
-d | --dark-mode)
103103
dark_mode=true
104104
shift
105105
;;
106106
-h | --help | *)
107-
echo "Usage: $0 [-p] [-c] [-u] [-s <source>] [-o <output>] [-f <format>] [-t <title>] [-m] [-w] [--hflip]"
107+
echo "Usage: $0 [-p] [-c] [-u] [-s <source>] [-o <output>] [-f <format>] [-t <title>] [-m] [-w] [-d] [--hflip]"
108108
echo "Examples:"
109109
echo " $0 # live view in landscape"
110110
echo " $0 -p # live view in portrait"
@@ -113,6 +113,7 @@ while [ $# -gt 0 ]; do
113113
echo " $0 -o remarkable.mp4 # record to a file"
114114
echo " $0 -o udp://dest:1234 -f mpegts # record to a stream"
115115
echo " $0 -w --mirror # write to a webcam (yuv420p + resize + mirror)"
116+
echo " $0 -d # enable dark mode (flip black and white)"
116117
echo " $0 -u # establish a unsecure but faster connection"
117118
exit 1
118119
;;

0 commit comments

Comments
 (0)