From ec458082e6e3447030e45be5709e6b78ce4f5b4e Mon Sep 17 00:00:00 2001 From: Marius Tolzmann Date: Tue, 19 Jun 2012 10:55:03 +0200 Subject: [PATCH] filelist2content: Die on unknown option Change filelist2content --help stat: cannot stat `Usage:': No such file or directory stat: cannot stat `cat': No such file or directory stat: cannot stat `[OPTION]...': No such file or directory stat: cannot stat `[FILE]...': No such file or directory **ERROR** stat failed to filelist2content --help filelist2content: unrecognized option '--help'. **ERROR** beegetopt failed --- src/filelist2content.sh.in | 1 + 1 file changed, 1 insertion(+) diff --git a/src/filelist2content.sh.in b/src/filelist2content.sh.in index b15981a..d1a7f37 100644 --- a/src/filelist2content.sh.in +++ b/src/filelist2content.sh.in @@ -132,6 +132,7 @@ function do_f2c() { ############################################################################### options=$(${BEE_GETOPT} --name filelist2content \ + --no-skip-unknown-option \ --option root/r= \ -- "${@}")