(module salmonella-diff-cmd () (import scheme) (cond-expand (chicken-4 (import chicken) (use srfi-1 srfi-13 posix files data-structures ports) (use salmonella-diff salmonella-html-report)) ((or chicken-5 chicken-6) (import (chicken base) (chicken file) (chicken pathname) (chicken process-context)) (import salmonella-diff salmonella-html-report srfi-1 srfi-13)) (else (error "Unsupported CHICKEN version."))) (define (usage #!optional exit-code) (let ((this (pathname-strip-directory (program-name)))) (display #<#EOF #this [ -h | --help ] #this [ ] log1 log2 : --out-dir= Directory where to save the HTML diff output --label1=