summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/slideshow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/slideshow/slideshow.cpp b/slideshow/slideshow.cpp
index c93157d3..d5b06ffc 100644
--- a/slideshow/slideshow.cpp
+++ b/slideshow/slideshow.cpp
@@ -87,7 +87,7 @@ int main(int argc, char **argv)
long int timeout = NEXT_TIMEOUT_MS;
time_t start;
- while ((opt = getopt(argc, argv, "t")) != -1) {
+ while ((opt = getopt(argc, argv, "t:")) != -1) {
switch (opt) {
case 't':
timeout = strtol(optarg, NULL, 0);