chiark / gitweb /
update completions
[disorder] / scripts / completion.bash
CommitLineData
460b9539 1#
2# This file is part of DisOrder.
5aff007d 3# Copyright (C) 2005-2008 Richard Kettlewell
460b9539 4#
5# This program is free software; you can redistribute it and/or modify
6# it under the terms of the GNU General Public License as published by
7# the Free Software Foundation; either version 2 of the License, or
8# (at your option) any later version.
9#
10# This program is distributed in the hope that it will be useful, but
11# WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13# General Public License for more details.
14#
15# You should have received a copy of the GNU General Public License
16# along with this program; if not, write to the Free Software
17# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
18# USA
19#
20
21complete -r disorder 2>/dev/null || true
22complete -r disorderd 2>/dev/null || true
23complete -r disorder-dump 2>/dev/null || true
24complete -r disobedience 2>/dev/null || true
25
26complete -o default \
27 -A file \
b3141726 28 -W "allfiles authorize dirs disable disable-random
460b9539 29 enable enable-random files get get-volume length log move
30 play playing prefs quack queue random-disable
31 random-enable recent reconfigure remove rescan scratch
32 search set set-volume shutdown stats unset version resolve
33 part pause resume scratch-id get-global set-global unset-global
b3141726 34 tags new rtp-address adduser users edituser deluser userinfo
9d617993
RK
35 setup-guest schedule-del schedule-list
36 schedule-set-global schedule-unset-global schedule-play
0af56a7e 37 playlist-del playlist-get playlist-set playlists
460b9539 38 -h --help -H --help-commands --version -V --config -c
39 --length --debug -d" \
40 disorder
41
42complete -o default \
43 -A file \
44 -W "-h --help --version -V --config -c
45 --debug --dump -d --undump -u --recover -r --recompute-aliases
46 -a" \
47 disorder-dump
48
49complete -o default \
50 -A file \
51 -W "-h --help --version -V --config -c --debug -d --foreground -f
52 --pidfile -P" \
53 disorderd
54
55complete -o default \
56 -A file \
57 -W "-h --help --version -V --config -c --debug -d --tufnel -t
58 --gtk-module --g-fatal-warnings --gtk-debug --gtk-no-debug
59 --class --name --gdk-debug --gdk-no-debug
60 --display --screen --sync --gxid-host --gxid-port" \
61 disobedience
62
63# Local Variables:
64# mode:sh
65# End: