aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/msgfmt.fish
diff options
context:
space:
mode:
authorGravatar liljencrantz <liljencrantz@gmail.com>2007-10-28 19:58:34 +1000
committerGravatar liljencrantz <liljencrantz@gmail.com>2007-10-28 19:58:34 +1000
commit5fee5a28909c27a58731cd757beeb685526a0b79 (patch)
treeaff6cfcb4f230d76677c7a624c58883d65314863 /share/completions/msgfmt.fish
parent3f3fe634c8a0b63b059eda02ae06f2b11ac8c447 (diff)
Add command specific comlpetions for msgfmt
darcs-hash:20071028095834-75c98-d749a3fef8e28c9d5bab1cd3dfbf989aac9a8049.gz
Diffstat (limited to 'share/completions/msgfmt.fish')
-rw-r--r--share/completions/msgfmt.fish36
1 files changed, 36 insertions, 0 deletions
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"
+