From 6ff02c0cb94a682ae25a1aca062ff887d8255993 Mon Sep 17 00:00:00 2001 From: Matthieu Moy Date: Mon, 18 Apr 2016 11:23:27 +0200 Subject: [PATCH] more comprehensive list of options taking argument extracted from the code of latexdiff. --- git-latexdiff | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/git-latexdiff b/git-latexdiff index e4a5d1f..f9cffff 100755 --- a/git-latexdiff +++ b/git-latexdiff @@ -327,7 +327,15 @@ while test $# -ne 0; do fi else case "$1" in - "-t"|"-s"|"-f"|"-e"|"-p"|"-A"|"-a"|"-X"|"-x"|"--config"|"-c"|"-L") + '--type'|'-t'|'--subtype'|'-s'|'--floattype'|'-f'|\ + '--config'|'-c'|'--preamble'|'-p'|'--encoding'|'-e'|\ + '--label'|'-L'|'--exclude-safecmd'|'-A'|\ + '--replace-safecmd'|'--append-safecmd'|'-a'|\ + '--exclude-textcmd'|'-X'|'--replace-textcmd'|\ + '--append-textcmd'|'-x'|'--replace-context1cmd'|\ + '--append-context1cmd'|'--replace-context2cmd'|\ + '--append-context2cmd'|'--packages'|'--math-markup'|\ + '--driver') # Options taking an immediate argument in # latexdiff => add both the option and its # argument.