diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2010-12-04 20:32:25 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2010-12-04 20:32:25 +0000 |
commit | 453062750c3752d77bbf772d85144003063c1212 (patch) | |
tree | cf56e29d64c6871397e4ccc749c0da0b4f27f4f4 /test/lex.c | |
parent | 7737a59d775aeb6dc14868fef6b2c95ed948d17f (diff) | |
download | libcss-453062750c3752d77bbf772d85144003063c1212.tar.gz libcss-453062750c3752d77bbf772d85144003063c1212.tar.bz2 |
Remove Aliases file nonsense
svn path=/trunk/libcss/; revision=10983
Diffstat (limited to 'test/lex.c')
-rw-r--r-- | test/lex.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -130,8 +130,8 @@ int main(int argc, char **argv) css_error error; int i; - if (argc != 3) { - printf("Usage: %s <aliases_file> <filename>\n", argv[0]); + if (argc != 2) { + printf("Usage: %s <filename>\n", argv[0]); return 1; } @@ -144,9 +144,9 @@ int main(int argc, char **argv) assert(css_lexer_create(stream, myrealloc, NULL, &lexer) == CSS_OK); - fp = fopen(argv[2], "rb"); + fp = fopen(argv[1], "rb"); if (fp == NULL) { - printf("Failed opening %s\n", argv[2]); + printf("Failed opening %s\n", argv[1]); return 1; } |