diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gpp.auto-completion | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/gpp.auto-completion b/src/gpp.auto-completion new file mode 100644 index 0000000..6727fb3 --- /dev/null +++ b/src/gpp.auto-completion @@ -0,0 +1,33 @@ +(#{GPP} + (argumented (option -s --symbol) (complete --symbol) (arg SYMBOL) (files -0) + (desc 'Set the prefix symbol for preprocessor directives')) + + (argumented (option -e --encoding) (complete --encoding) (arg ENCODING) (files -0) (suggest encoding) + (desc 'Select encoding of the file')) + (suggestion encoding (verbatim UTF-8)) + + (argumented (option -n --iterations) (complete --iterations) (arg N) (files -0) + (desc 'Select the number of times to perform the preprocessing recursively')) + + (unargumented (option -u --unshebang) (complete --unshebang) + (desc 'Clear the shebang line, twice to delete it')) + + (argumented (option -i --input) (complete --input) (arg FILE) (files -f) + (desc 'Select file to process')) + + (argumented (option -i --output) (complete --output) (arg FILE) (files -f) + (desc 'Select output file')) + + (argumented (option -f --file) (complete --file) (arg FILE) (files -r) + (desc 'Select file to both process and store the output')) + + (argumented (option -D --export) (complete --export) (arg NAME=VALUE) (files -0) + (desc 'Set environment variable')) + + (unargumented (option -v --version) (complete --version) + (desc 'Print program name and version and exit')) + + (unargumented (option -c --copying) (complete --copying) + (desc 'Print copyright notice and exit')) +) + |