aboutsummaryrefslogtreecommitdiffstats
path: root/src/gpp.auto-completion
blob: 6727fb3ea3f79d8ff4ed7006a49c34b3987f4df8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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'))
)