git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b50ce0a
)
added long options --verbose, --quiet
author
kramm
<kramm>
Tue, 6 Jan 2009 21:40:29 +0000
(21:40 +0000)
committer
kramm
<kramm>
Tue, 6 Jan 2009 21:40:29 +0000
(21:40 +0000)
src/as3compile.c
patch
|
blob
|
history
diff --git
a/src/as3compile.c
b/src/as3compile.c
index
d62d447
..
f42af26
100644
(file)
--- a/
src/as3compile.c
+++ b/
src/as3compile.c
@@
-42,6
+42,8
@@
static int verbose = 1;
static struct options_t options[] = {
{"h", "help"},
{"V", "version"},
static struct options_t options[] = {
{"h", "help"},
{"V", "version"},
+{"v", "verbose"},
+{"q", "quiet"},
{"C", "cgi"},
{"X", "width"},
{"Y", "height"},
{"C", "cgi"},
{"X", "width"},
{"Y", "height"},
@@
-107,6
+109,8
@@
void args_callback_usage(char *name)
printf("\n");
printf("-h , --help Print short help message and exit\n");
printf("-V , --version Print version info and exit\n");
printf("\n");
printf("-h , --help Print short help message and exit\n");
printf("-V , --version Print version info and exit\n");
+ printf("-v , --verbose Increase verbosity\n");
+ printf("-q , --quiet Decrease verbosity\n");
printf("-C , --cgi Output to stdout (for use in CGI environments)\n");
printf("-X , --width Set target SWF width\n");
printf("-Y , --height Set target SWF width\n");
printf("-C , --cgi Output to stdout (for use in CGI environments)\n");
printf("-X , --width Set target SWF width\n");
printf("-Y , --height Set target SWF width\n");