Stefan Schuermans commited on 2014-01-02 19:56:38
Showing 3 changed files, with 19 additions and 4 deletions.
... | ... |
@@ -174,12 +174,17 @@ int main(int argCnt, char **args) |
174 | 174 |
|
175 | 175 |
// print syntax |
176 | 176 |
if (argCnt <= 1) { |
177 |
+#ifdef BLINKENLIB_CFG_MNG |
|
178 |
+# define MNGEXT ", *.mng" |
|
179 |
+#else |
|
180 |
+# define MNGEXT |
|
181 |
+#endif |
|
177 | 182 |
printf("syntax: %s <parameter> [...]\n\n" |
178 | 183 |
"parameters:\n" |
179 | 184 |
" -i <file>\n" |
180 |
- " read movie from file (*.blm, *.bmm, *.bml, *.bbm(, *.mng))\n" |
|
185 |
+ " read movie from file (*.blm, *.bmm, *.bml, *.bbm"MNGEXT")\n" |
|
181 | 186 |
" -a <file>\n" |
182 |
- " append movie from file (*.blm, *.bmm, *.bml, *.bbm(, *.mng))\n" |
|
187 |
+ " append movie from file (*.blm, *.bmm, *.bml, *.bbm"MNGEXT")\n" |
|
183 | 188 |
" -l <number>\n" |
184 | 189 |
" loop video a number of times\n" |
185 | 190 |
" -f\n" |
... | ... |
@@ -40,6 +40,11 @@ int main(int argCnt, char **args) |
40 | 40 |
|
41 | 41 |
// print syntax |
42 | 42 |
if (argCnt <= 1) { |
43 |
+#ifdef BLINKENLIB_CFG_MNG |
|
44 |
+# define MNGEXT ", *.mng" |
|
45 |
+#else |
|
46 |
+# define MNGEXT |
|
47 |
+#endif |
|
43 | 48 |
printf("syntax: %s <parameter> [...]\n\n" |
44 | 49 |
"parameters:\n" |
45 | 50 |
" -l [<ip>:]<port>\n" |
... | ... |
@@ -50,7 +55,7 @@ int main(int argCnt, char **args) |
50 | 55 |
" -t <milliseconds>\n" |
51 | 56 |
" set timeout (to detect movie end, defaults to 5000)\n" |
52 | 57 |
" -o <file>\n" |
53 |
- " receive movie and write it to file (*.blm, *.bmm, *.bml, *.bbm)\n\n", |
|
58 |
+ " receive movie and write it to file (*.blm, *.bmm, *.bml, *.bbm"MNGEXT")\n\n", |
|
54 | 59 |
args[0]); |
55 | 60 |
return 0; |
56 | 61 |
} |
... | ... |
@@ -43,6 +43,11 @@ int main(int argCnt, char **args) |
43 | 43 |
|
44 | 44 |
// print syntax |
45 | 45 |
if (argCnt <= 1) { |
46 |
+#ifdef BLINKENLIB_CFG_MNG |
|
47 |
+# define MNGEXT ", *.mng" |
|
48 |
+#else |
|
49 |
+# define MNGEXT |
|
50 |
+#endif |
|
46 | 51 |
printf("syntax: %s <parameter> [...]\n\n" |
47 | 52 |
"parameters:\n" |
48 | 53 |
" -s [<ip>:]<port>\n" |
... | ... |
@@ -57,7 +62,7 @@ int main(int argCnt, char **args) |
57 | 62 |
" -n <number>\n" |
58 | 63 |
" set number of times to send movies (defaults to 1)\n" |
59 | 64 |
" -i <file>\n" |
60 |
- " read movie from file (*.blm, *.bmm, *.bml, *.bbm) and send it\n" |
|
65 |
+ " read movie from file (*.blm, *.bmm, *.bml, *.bbm"MNGEXT") and send it\n" |
|
61 | 66 |
" -l <number>\n" |
62 | 67 |
" loop number of times (defaults to 1, use 0 for forever)\n\n", |
63 | 68 |
args[0]); |
64 | 69 |