diff -p -up links-2.2/default.c.be-graphic-when-called-_links-graphic_ links-2.2/default.c --- links-2.2/default.c.be-graphic-when-called-_links-graphic_ 2009-08-17 16:30:41.000000000 +0200 +++ links-2.2/default.c 2009-08-17 16:30:41.000000000 +0200 @@ -113,6 +113,12 @@ void block_wr(struct option *, unsigned unsigned char *p_arse_options(int argc, unsigned char *argv[], struct option **opt) { unsigned char *e, *u = NULL; + + { + int offset = strlen(argv[-1]) - sizeof("-graphic") + 1; + if (offset > 0 && strcmp(argv[-1] + offset, "-graphic") == 0) ggr = 1; + } + while (argc) { int i; argv++, argc--;