From 5fee5a28909c27a58731cd757beeb685526a0b79 Mon Sep 17 00:00:00 2001 From: liljencrantz Date: Sun, 28 Oct 2007 19:58:34 +1000 Subject: Add command specific comlpetions for msgfmt darcs-hash:20071028095834-75c98-d749a3fef8e28c9d5bab1cd3dfbf989aac9a8049.gz --- share/completions/msgfmt.fish | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 share/completions/msgfmt.fish (limited to 'share/completions') diff --git a/share/completions/msgfmt.fish b/share/completions/msgfmt.fish new file mode 100644 index 00000000..bb4231de --- /dev/null +++ b/share/completions/msgfmt.fish @@ -0,0 +1,36 @@ + +complete -c msgfmt -s D -l directory --description "Add specified directory to list for input files search" -x -a "(__fish_complete_directories (commandline -ct))" + +set -l cond "not __fish_contains_opt -s j java java2 csharp csharp-resource tcl qt" +complete -c msgfmt -n $cond -s j -l java --description "Generate a Java ResourceBundle class" +complete -c msgfmt -n $cond -l java2 --description "Like --java, and assume Java2 (JDK 1.2 or higher)" +complete -c msgfmt -n $cond -l csharp --description "Generate a .NET .dll file" +complete -c msgfmt -n $cond -l csharp-resources --description "Generate a .NET .resources file" +complete -c msgfmt -n $cond -l tcl --description "Generate a tcl/msgcat .msg file" +complete -c msgfmt -n $cond -l qt --description "Generate a Qt .qm file" + +complete -c msgfmt -s o -l output-file --description "Write output to specified file" -r +complete -c msgfmt -l strict --description "Enable strict Uniforum mode" + + +set -l cond "__fish_contains_opt -s j java java2 csharp csharp-resource tcl" +complete -c msgfmt -n $cond -s r -l resource --description "Resource name" +complete -c msgfmt -n $cond -s l -l locale --description "Locale name, either language or language_COUNTRY" +complete -c msgfmt -n $cond -s d --description "Base directory for output" -x -a "(__fish_complete_directories (commandline -ct))" + +complete -c msgfmt -s P -l properties-input --description "Input files are in Java .properties syntax" +complete -c msgfmt -l stringtable-input --description "Input files are in NeXTstep/GNUstep .strings syntax" +complete -c msgfmt -s c -l check --description "Perform all the checks implied by --check-format, --check-header, --check-domain" +complete -c msgfmt -l check-format --description "Check language dependent format strings" +complete -c msgfmt -l chack-header --description "Verify presence and contents of the header entry" +complete -c msgfmt -l check-domain --description "Check for conflicts between domain directives and the --output-file option" +complete -c msgfmt -s C -l check-compatibility --description "Check that GNU msgfmt behaves like X/Open msgfmt" +complete -c msgfmt -l check-accelerators --description "Check presence of keyboard accelerators for menu items" +complete -c msgfmt -s f -l use-fuzzy --description "Use fuzzy entries in output" +complete -c msgfmt -s a -l alignment --description "Alignment" -r +complete -c msgfmt -l no-hash --description "Binary file will not include the hash table" +complete -c msgfmt -s h -l help --description "Display help and exit" +complete -c msgfmt -s V -l version --description "Display version and exit" +complete -c msgfmt -l statistics --description "Print statistics about translations" +complete -c msgfmt -l verbose --description "Increase verbosity level" + -- cgit v1.2.3