- Timestamp:
- Nov 7, 2008, 8:09:52 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/caca-php/examples/img2txt.php
r3307 r3308 273 273 $arg = $opt_and_arg[1]; 274 274 if((substr($opt, 0, 2) == '--') 275 276 275 && 276 array_key_exists(substr($opt, strlen('--')) . (($arg !== NULL) ? ':' : ''), $long_options)) 277 277 { 278 278 $opt = '-' . $long_options[substr($opt, strlen('--')) . (($arg !== NULL) ? ':' : '')]; … … 375 375 if(!$export) 376 376 { 377 fprintf(STDERR, "%s: Can't export to format '%s'\n", $argv[0], $format );377 fprintf(STDERR, "%s: Can't export to format '%s'\n", $argv[0], $format?$format:"ansi"); 378 378 return -1; 379 379 }
Note: See TracChangeset
for help on using the changeset viewer.