#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
	start:start\ the\ daemon
	daemon:alias\ for\ start
	quit:shutdown\ the\ daemon
	settings:launch\ the\ configuration\ tool
	preferences:alias\ for\ settings
	version:display\ the\ version
	help:display\ the\ help
    -h:alias\ for\ help
    --help:alias\ for\ help
)' && ret=0

