Skip to content
This repository has been archived by the owner on Feb 14, 2023. It is now read-only.

Commit

Permalink
added more usage
Browse files Browse the repository at this point in the history
  • Loading branch information
danielrh committed Jul 14, 2016
1 parent 7499822 commit a34ee2f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/lepton/jpgcoder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1762,8 +1762,6 @@ void show_help( void )
fprintf(msgout, " [-revision] Source revision of lepton binary\n" );
fprintf(msgout, " [-unjailed] Do not jail this process (use only with trusted data)\n" );
fprintf(msgout, " [-singlethread] Do not clone threads to operate on the input file\n" );
fprintf(msgout, " [-socket] Serve requests on a Unix Domain Socket\n" );
fprintf(msgout, " [-socket=<name>] Path to socket (otherwise random path used and printed)\n");
fprintf(msgout, " [-maxchildren] Max codes to ever spawn at the same time in socket mode\n");
fprintf(msgout, " [-preload] Preload decoding code\n" );
fprintf(msgout, " [-unkillable] Ignore SIGTERM and SIGQUIT after alarm timer is set\n");
Expand All @@ -1777,6 +1775,12 @@ void show_help( void )
fprintf(msgout, " [-hugepages] Allocate from the hugepages on the system\n");
fprintf(msgout, " [-avx2upgrade] Try to exec <binaryname>-avx if avx is available\n");
fprintf(msgout, " [-injectsyscall={1..4}] Inject a \"chdir\" syscall & check SECCOMP crashes\n");
fprintf(msgout, " [-socket] Serve requests on a Unix Domain Socket\n" );
fprintf(msgout, " [-socket=<name>] Path to socket (otherwise random path used and printed)\n");
fprintf(msgout, " [-listen] Serve requests on a TCP socket on port 2402\n" );
fprintf(msgout, " [-listen=<port>] Serve requests on a TCP socket on port <port>\n" );
fprintf(msgout, " [-zliblisten] Serve requests on a TCP socket oi port 2403\n" );
fprintf(msgout, " [-zliblisten=<port>] Serve requests on a TCP socket on port <port>\n" );
fprintf(msgout, " [-recodememory=<>M] Check that a singlethreaded recode only uses <>M mem\n");
}

Expand Down

0 comments on commit a34ee2f

Please sign in to comment.