aboutsummaryrefslogblamecommitdiffstats
path: root/src/gpp.auto-completion
blob: fdfb967f70bb06b54727fff742cc10c79a90a0e9 (plain) (tree)
1
2
3
4
5
6
7
8
9
       
                                                                                     

                                                                   
                                                                                                              


                                              
                                                                                        

                                                                                     
                                                                     

                                                            
                                                                                 

                                        
                                                                                   

                                    
                                                                               

                                                                  
                                                                                         

                                          
                                                                 

                                                         
                                                                 


                                                 
(#{GPP}
	(argumented (options -s --symbol) (complete --symbol) (arg SYMBOL) (files -0)
	(desc 'Set the prefix symbol for preprocessor directives'))

	(argumented (options -e --encoding) (complete --encoding) (arg ENCODING) (files -0) (suggest encoding)
	(desc 'Select encoding of the file'))
	(suggestion encoding (verbatim UTF-8))

	(argumented (options -n --iterations) (complete --iterations) (arg N) (files -0)
	(desc 'Select the number of times to perform the preprocessing recursively'))

	(unargumented (options -u --unshebang) (complete --unshebang)
	(desc 'Clear the shebang line, twice to delete it'))

	(argumented (options -i --input) (complete --input) (arg FILE) (files -f)
	(desc 'Select file to process'))

	(argumented (options -i --output) (complete --output) (arg FILE) (files -f)
	(desc 'Select output file'))

	(argumented (options -f --file) (complete --file) (arg FILE) (files -r)
	(desc 'Select file to both process and store the output'))

	(argumented (options -D --export) (complete --export) (arg NAME=VALUE) (files -0)
	(desc 'Set environment variable'))

	(unargumented (options -v --version) (complete --version)
	(desc 'Print program name and version and exit'))

	(unargumented (options -c --copying) (complete --copying)
	(desc 'Print copyright notice and exit'))
)