aboutsummaryrefslogtreecommitdiffstats
path: root/src/scrotty.auto-completion
blob: e385e00dca9d66f2e182d4903d69f3d951ce6671 (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
((value command scrotty)
	(default (arg FILENAME-PATTERN)  (files -0)  (suggest filename)
	 (desc 'Pattern for the filenames of saved images.'))

	(unargumented  (options -h --help)  (complete --version)
	 (desc 'Print usage information.'))

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

	(unargumented  (options -c --copyright)  (complete --copyright)
	 (desc 'Print copyright information.'))

	(argumented  (options -d --device)  (complete --device)  (arg NUMBER)  (files -0)
	 (desc 'Select framebuffer device.'))

	(argumented  (options -e --exec)  (complete --exec)  (arg COMMAND)  (files -0)
	 (desc 'Command to run for each saved image.'))

	(suggestion filename (verbatim '%Y-%m-%d_%H:%M:%S_$wx$h.$i.png'
	                               '%Y-%m-%d_%H:%M:%S.$i.png'))
)