Stefan Schuermans commited on 2016-12-29 00:07:32
Showing 2 changed files, with 12 additions and 2 deletions.
| ... | ... |
@@ -44,6 +44,11 @@ int main(int argCnt, char **args) |
| 44 | 44 |
# define MNGEXT ", *.mng" |
| 45 | 45 |
#else |
| 46 | 46 |
# define MNGEXT |
| 47 |
+#endif |
|
| 48 |
+#ifdef BLINKENLIB_CFG_GIF |
|
| 49 |
+# define GIFEXT ", *.gif" |
|
| 50 |
+#else |
|
| 51 |
+# define GIFEXT |
|
| 47 | 52 |
#endif |
| 48 | 53 |
printf("syntax: %s <parameter> [...]\n\n"
|
| 49 | 54 |
"parameters:\n" |
| ... | ... |
@@ -59,7 +64,7 @@ int main(int argCnt, char **args) |
| 59 | 64 |
" -t <milliseconds>\n" |
| 60 | 65 |
" set timeout (to detect movie end, defaults to 5000)\n" |
| 61 | 66 |
" -o <file>\n" |
| 62 |
- " receive movie and write it to file (*.blm, *.bmm, *.bml, *.bbm"MNGEXT")\n\n", |
|
| 67 |
+ " receive movie and write it to file (*.blm, *.bmm, *.bml, *.bbm" MNGEXT GIFEXT ")\n\n", |
|
| 63 | 68 |
args[0]); |
| 64 | 69 |
return 0; |
| 65 | 70 |
} |
| ... | ... |
@@ -47,6 +47,11 @@ int main(int argCnt, char **args) |
| 47 | 47 |
# define MNGEXT ", *.mng" |
| 48 | 48 |
#else |
| 49 | 49 |
# define MNGEXT |
| 50 |
+#endif |
|
| 51 |
+#ifdef BLINKENLIB_CFG_GIF |
|
| 52 |
+# define GIFEXT ", *.gif" |
|
| 53 |
+#else |
|
| 54 |
+# define GIFEXT |
|
| 50 | 55 |
#endif |
| 51 | 56 |
printf("syntax: %s <parameter> [...]\n\n"
|
| 52 | 57 |
"parameters:\n" |
| ... | ... |
@@ -66,7 +71,7 @@ int main(int argCnt, char **args) |
| 66 | 71 |
" -n <number>\n" |
| 67 | 72 |
" set number of times to send movies (defaults to 1)\n" |
| 68 | 73 |
" -i <file>\n" |
| 69 |
- " read movie from file (*.blm, *.bmm, *.bml, *.bbm"MNGEXT") and send it\n" |
|
| 74 |
+ " read movie from file (*.blm, *.bmm, *.bml, *.bbm" MNGEXT GIFEXT ") and send it\n" |
|
| 70 | 75 |
" -l <number>\n" |
| 71 | 76 |
" loop number of times (defaults to 1, use 0 for forever)\n\n", |
| 72 | 77 |
args[0]); |
| 73 | 78 |