#compdef gpaste

_describe 'gpaste command' '(
	add:set\ text\ to\ clipboard
	set:select\ an\ element\ of\ the\ history
	delete:delete\ an\ element\ of\ the\ history
	empty:empty\ the\ history
        file:put\ content\ of\ file\ into\ clipboard
        -f:alias\ for\ file
        --file:alias\ for\ file
	start:start\ the\ daemon
	daemon:alias\ for\ start
	quit:shutdown\ the\ daemon
	daemon-reexec:reexecute\ the\ daemon
	settings:launch\ the\ configuration\ tool
	preferences:alias\ for\ settings
	version:display\ the\ version
        -v:alias\ for\ version
        --version:alias\ for\ version
	help:display\ the\ help
        -h:alias\ for\ help
        --help:alias\ for\ help
)' && ret=0

