+ line shifter and bla

This commit is contained in:
2020-12-31 00:46:12 +01:00
parent af1a48f149
commit 864c8d2d05
8 changed files with 73 additions and 15 deletions

View File

@@ -69,6 +69,9 @@ return 0;
int help(void)
{
puts("yolo!");
puts("\t-L\tlist available filters");
exit(0);
}
/* ----------------------------------------------------------- */
@@ -103,11 +106,14 @@ fprintf(stderr, "*** %s : compiled by tTh, %s %s\n", __FILE__,
__DATE__, __TIME__);
fimg_print_version(2);
while ((opt = getopt(argc, argv, "hF:i:o:vx")) != -1) {
while ((opt = getopt(argc, argv, "hF:i:Lo:vx")) != -1) {
switch(opt) {
case 'h': help(); break;
case 'F': filterchain = optarg; break;
case 'i': infile = optarg; break;
case 'L':
list_crapulors("available filters");
exit(0);
case 'o': outfile = optarg; break;
case 'v': verbosity++; break;
case 'x': experiment(); break;