Ville Skyttä
25a74334e1
testsuite: Add basic cfagent test case.
2011-05-20 20:44:02 +03:00
Freddy Vulto
fc96a951b7
Fix error "bad array subscript"
...
Caused by _get_comp_words_by_ref() with cursor at position 0.
Patch by Igor Murzov (Debian: #559953 )
2011-05-19 22:40:14 +02:00
Ville Skyttä
eefc69d83b
lvm: Use _parse_usage in several tools.
...
Also adjust test cases to not fail if --help doesn't succeed, at least
it doesn't for me if run as non-root.
2011-05-16 18:57:43 +03:00
Ville Skyttä
b7f1f74ba0
ldapvi: Use _parse_help, add basic test case.
2011-05-15 20:16:49 +03:00
Ville Skyttä
d8e22da94b
testsuite: Add basic msynctool test case.
2011-05-15 15:58:42 +03:00
Ville Skyttä
0e34393198
testsuite: Add basic mdtool and monodevelop test cases.
2011-05-15 15:55:47 +03:00
Ville Skyttä
190299ca6a
medusa: Use _parse_help, add basic test case.
2011-05-15 15:37:09 +03:00
Ville Skyttä
fa1fec713b
ldap*: Use _parse_help, add basic test cases.
2011-05-15 15:34:23 +03:00
Ville Skyttä
84f9f78494
qemu: Use _parse_help, add basic test case.
2011-05-15 15:33:55 +03:00
Ville Skyttä
4e070e40a4
testsuite: Add bunch of basic postfix test cases.
2011-05-15 15:11:01 +03:00
Ville Skyttä
2e4d73ff6c
testsuite: Add basic ssh-copy-id test case.
2011-05-12 00:24:15 +03:00
Ville Skyttä
a3360f0cb8
testsuite: Add basic l2ping test case.
2011-05-11 23:48:09 +03:00
Ville Skyttä
b8b46f9c27
_parse_help: Pick long options also from "-f FOO, --foo=FOO".
2011-05-11 19:28:17 +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ä
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ä
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ä
21c5a0eb9d
phing: Reuse ant completion for it, add basic test case.
2011-05-03 09:46:30 +03:00
Ville Skyttä
1126c831b8
testsuite: Don't define $BASH_COMPLETION here either.
2011-05-03 09:33:18 +03:00
David Paleino
00a6abb136
Also get rid of BASH_COMPLETION_DIR in the testsuite
2011-05-02 18:41:36 +02:00
Ville Skyttä
0a40e980cb
testsuite: Add basic grpck, passwd, and pwck test cases.
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ä
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ä
41ce815827
testsuite: Add some failing _get_comp_words_by_ref testcases when cursor is before first word.
2011-05-01 17:33:24 +03:00
Ville Skyttä
0448c765ba
testsuite: Add test case for Debian: #622383 .
...
The fix is in commit 4ad538ba1a0ccb483899b4eaa70cc604d2b7bf78.
2011-05-01 16:00:07 +03:00
Ville Skyttä
b202bc60f6
cppcheck: New completion.
2011-05-01 12:13:32 +03:00
Ville Skyttä
7fb4e3137d
_parse_help: Don't treat tokens with more than two leading dashes as options.
2011-04-29 12:05:29 +03:00
Ville Skyttä
b6cdacf1f9
_parse_help: Expand --[no]foo to --foo and --nofoo.
2011-04-29 11:47:48 +03:00
Ville Skyttä
e2c57c5966
Convert many completions to use _parse_help() instead of hardcoded option lists.
2011-04-28 21:21:31 +03:00
Ville Skyttä
393ab1f650
testsuite: Add basic mii-diag and mii-tool test cases.
2011-04-28 21:17:50 +03:00
Ville Skyttä
fd2bd342e0
_parse_help: Fix --foo={bar,quux} handling.
2011-04-28 20:48:48 +03:00
Ville Skyttä
3998a70dd9
route: Don't leak local $opt.
2011-04-27 23:37:44 +03:00
Ville Skyttä
9d810be86b
_parse_help: Make work with pipe separated options.
2011-04-27 23:22:03 +03:00
Ville Skyttä
fabbec105c
testsuite: Add bunch of simple shadow util test cases.
2011-04-27 23:17:58 +03:00
Ville Skyttä
7b60fc6555
_parse_help: Re-fix --foo[=bar] handling.
2011-04-27 21:44:04 +03:00
Ville Skyttä
3a39ac6676
chsh: Use _allowed_users instead of plain compgen -u.
2011-04-27 18:40:16 +03:00
Ville Skyttä
5cd5993211
_parse_help: Change to output first long option, or first short if not found.
...
Makes things more consistent with the rest of our option offerings.
2011-04-27 18:36:52 +03:00
Ville Skyttä
976ba44825
Complete screen on commands (Alioth: #312164 , RedHat: #547852 ).
2011-04-25 15:51:33 +03:00
Ville Skyttä
a87086b7d4
Turn off default compopt when completing dirs in _longopt().
...
Otherwise -o default kicks in in cases where we have no dir
completions and ends up completing files.
2011-04-24 19:54:50 +03:00
Ville Skyttä
ea90dc1a86
Use _split_longopt() in rsync.
2011-04-24 18:50:40 +03:00
Ville Skyttä
6589a0d61b
Drop support for bash < 4.1, clean up no longer needed low hanging cruft.
2011-04-21 12:20:59 +03:00
Ville Skyttä
a47aff8481
Fix local variable leaks from bluez completions.
2011-04-17 13:44:06 +03:00
Ville Skyttä
1ffb918b4e
Support tildes when recursively sourcing muttrc files (Debian: #615134 ).
2011-04-14 22:17:29 +03:00
Ville Skyttä
f0eac44ac9
(testsuite) Test java -classpath in addition to -cp.
2011-04-06 18:51:22 +03:00
Ville Skyttä
c691c6e998
Add CHANGES entry and test case for previous java completion change.
2011-04-06 18:49:06 +03:00
Ville Skyttä
ec25abac89
(testsuite) Make ri basic test case more likely to work.
...
Plain "ri " completion returns 3729 entries on my box which is way
more than fits into the expect buffer we have in effect.
2011-04-01 20:09:42 +03:00
Ville Skyttä
c398b1c56f
(testsuite) Fix get_hosts option docs.
2011-03-29 23:27:51 +03:00