3113 Commits

Author SHA1 Message Date
Ville Skyttä
a4fa9bb3eb Fix FSF address in copyright notice. 2011-05-11 00:30:13 +03:00
Ville Skyttä
bc6fb7d711 perldoc: Use perldoc itself instead of man. 2011-05-08 23:15:56 +03:00
Ville Skyttä
923e20fd74 perldoc: Don't parse man page when we know it'll produce no completions. 2011-05-08 23:00:22 +03:00
Ville Skyttä
3d366255a2 xmllint: Use _parse_help(). 2011-05-08 22:18:03 +03:00
Ville Skyttä
622d2bd25f _longopt: Use \{0,1\} instead of \? for sed (basic regex) portability. 2011-05-08 15:30:37 +03:00
Ville Skyttä
2d23a3f47c ant: Rewrite build target parsing in plain bash, add build file test case.
There's no alternation (\|) in POSIX basic regexps which is what POSIX
sed supports.
2011-05-08 15:25:32 +03:00
Ville Skyttä
727fa3adfd modplug*: Add more extensions for files supported by libmodplug. 2011-05-08 15:17:52 +03:00
Ville Skyttä
5a6b9a22e7 ipmitool: Use _parse_help. 2011-05-05 00:19:53 +03:00
Ville Skyttä
ae9e140948 tcpdump: Use _parse_usage, add bunch of option completions and a basic test case. 2011-05-05 00:18:18 +03:00
Ville Skyttä
3334711726 _parse_usage: Deal with whitespace in brackets. 2011-05-05 00:06:58 +03:00
Ville Skyttä
db86b76eba fusermount: Use _parse_help, add basic test case. 2011-05-04 23:56:38 +03:00
Ville Skyttä
20a3d4d0bd rdesktop: Use _parse_help, add/improve option completions and basic test case. 2011-05-04 23:21:06 +03:00
Ville Skyttä
f9293cd3e8 xmlwf: Use _parse_usage, add -v non-completion. 2011-05-04 23:02:13 +03:00
Ville Skyttä
08a4c0eff5 sysbench: Use _parse_help. 2011-05-04 22:51:02 +03:00
Ville Skyttä
174d40ecff quota-tools: Use _parse_help, add bunch of option completions and basic test cases. 2011-05-04 22:50:06 +03:00
Ville Skyttä
997ecac0f0 samba: Use _parse_help, add bunch of option completions and basic test cases. 2011-05-04 22:47:05 +03:00
Ville Skyttä
cec611fa51 _parse_help: Use -r to "read" to avoid backslash issues. 2011-05-04 22:45:47 +03:00
Ville Skyttä
33900b8724 xzdec: Complete $cur == -* after option argument and split checks. 2011-05-03 12:41:28 +03:00
Ville Skyttä
e5592133a3 build system: Remove bash-completion.pc with "make clean". 2011-05-03 12:31:37 +03:00
Ville Skyttä
21c5a0eb9d phing: Reuse ant completion for it, add basic test case. 2011-05-03 09:46:30 +03:00
Ville Skyttä
3e4aadd72d ant: Improve -lib, -find/-s, and -D argument completions. 2011-05-03 09:43:29 +03:00
Ville Skyttä
1c76e608fd __parse_options: Return 0 to avoid false negatives from _parse_* test cases. 2011-05-03 09:35:53 +03:00
Ville Skyttä
1126c831b8 testsuite: Don't define $BASH_COMPLETION here either. 2011-05-03 09:33:18 +03:00
Ville Skyttä
a36c1076fc Revert "New completion for phing (Elan Ruusamäe, Alioth: #312910)"
This reverts commit bf358666d2256213d59bd75c6194aaff41bc9893.

Will reuse the ant completion for phing instead.
2011-05-03 00:37:52 +03:00
Ville Skyttä
6df8c8e530 docs: Update "simply sourcing" instructions to match new layout, check $PS1. 2011-05-02 21:50:07 +03:00
David Paleino
90b67bc976 Added pkgconfig file with paths used by bash-completion 2011-05-02 20:31:56 +02:00
David Paleino
4ee9850e28 apt: add 'download' to subcommands (Debian: #625234, Ubuntu: #720541) 2011-05-02 20:00:58 +02:00
Ville Skyttä
a43a68f2c6 build system: Drop no longer needed install-data-hook bits. 2011-05-02 20:39:01 +03:00
Ville Skyttä
a04c2b02fa build system: Remaining layout change related fixes. 2011-05-02 20:38:21 +03:00
David Paleino
4632248cbb Get rid of $BASH_COMPLETION as well 2011-05-02 19:04:24 +02:00
David Paleino
88f9f46d81 Complete fix datadir → pkgdatadir 2011-05-02 18:56:14 +02:00
David Paleino
daf29255f4 Fix autotools to use pkgdatadir instead of redefining datadir, get rid of helpersdir. 2011-05-02 18:43:56 +02:00
David Paleino
00a6abb136 Also get rid of BASH_COMPLETION_DIR in the testsuite 2011-05-02 18:41:36 +02:00
David Paleino
43728af423 Get rid of BASH_COMPLETION_DIR and BASH_COMPLETION_HELPERS_DIR 2011-05-02 18:37:49 +02:00
David Paleino
bf358666d2 New completion for phing (Elan Ruusamäe, Alioth: #312910) 2011-05-02 17:22:35 +02:00
David Paleino
5961c3b8cd Layout change: everything is now in /usr/share/bash-completion/, rather than in /etc/. 2011-05-02 17:01:23 +02:00
David Paleino
b25abe601d ant: handle "extension-point" the same as "target" tag (Petr Kozelka, Alioth: #313105) 2011-05-02 16:30:51 +02:00
Ville Skyttä
0a40e980cb testsuite: Add basic grpck, passwd, and pwck test cases. 2011-05-02 14:37:33 +03:00
Ville Skyttä
e1cc0e178b e2fsprogs, passwd, pwck, grpck: Use _parse_usage instead of hardcoded option lists. 2011-05-02 14:37:33 +03:00
Ville Skyttä
d1d05e2b82 pgrep: Add option and option argument completions. 2011-05-02 14:37:33 +03:00
Ville Skyttä
dd59b49f25 _init_completion: Doc update. 2011-05-02 14:37:33 +03:00
Ville Skyttä
457dbf6061 _init_completion: Indicate that completion should not continue if cword == 0.
http://thread.gmane.org/gmane.comp.shells.bash.bugs/16499
http://lists.alioth.debian.org/pipermail/bash-completion-devel/2011-May/003635.html

Thanks-to: Igor Murzov <igor@gplsoft.org>
2011-05-02 14:37:33 +03:00
Ville Skyttä
68f6f1c685 _parse_usage, _parse_help: Add _parse_usage, expand [no-] and [dont-?] as well in _parse_help. 2011-05-02 14:37:13 +03:00
Ville Skyttä
26ae7700ed pkgtools, rpm2tgz, sbopkg, slackpkg, slapt: Add indentation settings. 2011-05-02 13:18:33 +03:00
Ville Skyttä
ebb446d8cb Merge remote-tracking branch 'garik/slackware' 2011-05-02 13:11:07 +03:00
Ville Skyttä
c875723bef Include trailing equals sign in options that take arguments that way.
This way it's clearer to users that an argument is expected.  It's
likely that this commit does not catch all such cases, but it should
do it for most of the affected commands I have installed.
2011-05-02 11:45:55 +03:00
Ville Skyttä
0a84ad771d mc: Parse help from --help-all instead of --help. 2011-05-02 11:22:49 +03:00
Ville Skyttä
4c91151a8c configure: Add some option argument completions. 2011-05-02 11:15:30 +03:00
Ville Skyttä
288c1eb3c1 _parse_help: Fix handling of commands with paths.
Regression from commit a614028a9b7e22b76f609a49dc7cfc2b8ad0abcd, need to
eval cmd before setting IFS to avoid it being split.
2011-05-02 10:40:36 +03:00
Igor Murzov
44fdd5c827 cppcheck: Fix --error-exitcode argument handling. 2011-05-02 10:28:38 +03:00