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 |
|
Igor Murzov
|
08d170d2a4
|
Merge remote-tracking branch 'origin/master' into slackware
|
2011-05-02 03:11:39 +04:00 |
|
Ville Skyttä
|
a54857cd05
|
_init_completion: Add -s for splitting long options, use it in completions.
|
2011-05-02 00:04:26 +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 |
|
Igor Murzov
|
5c98d3160a
|
_init_completion: Fix out of bounds access to words when cword is 0.
|
2011-05-01 17:32:09 +03:00 |
|
Ville Skyttä
|
ddbd28f638
|
Comment fixes.
|
2011-05-01 17:29:43 +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ä
|
a614028a9b
|
_parse_help: Implement in bash instead of awk.
It's more portable and maintainable this way, but also somewhat slower
(but not slower enough that it'd actually matter).
|
2011-05-01 14:24:29 +03:00 |
|
Ville Skyttä
|
8b45b345ce
|
_filedir*: Add link to bash-bug discussion about complete -X case sensitivity.
|
2011-05-01 12:39:13 +03:00 |
|
Ville Skyttä
|
b202bc60f6
|
cppcheck: New completion.
|
2011-05-01 12:13:32 +03:00 |
|
Ville Skyttä
|
a785f1c2f9
|
autotools, xsltproc: Use _parse_help instead of _longopt.
|
2011-05-01 12:10:16 +03:00 |
|
Igor Murzov
|
aaa520a452
|
Merge remote-tracking branch 'origin/master' into slackware
|
2011-04-29 22:07:37 +04:00 |
|
Ville Skyttä
|
10cfd72956
|
cvs diff: Parse options from cvs diff instead of plain diff.
|
2011-04-29 12:42:39 +03:00 |
|
Ville Skyttä
|
2544b384ea
|
Add lbzip2, lbunzip2, and lbzcat completions, using corresponding bzip2 ones.
|
2011-04-29 12:32:49 +03:00 |
|
Ville Skyttä
|
4f35919e69
|
Convert more completions to use _parse_help() instead of hardcoded option lists.
|
2011-04-29 12:27:21 +03:00 |
|
Ville Skyttä
|
4ea93b286e
|
cryptsetup, wvdial: Use _split_longopt().
|
2011-04-29 12:24:58 +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ä
|
1709686b7e
|
xz: Non-complete --memlimit{,-compress,-decompress}.
|
2011-04-28 21:40:11 +03:00 |
|
Ville Skyttä
|
d5454732d8
|
getent: Allow multiple completions from same db, add option completion.
|
2011-04-28 21:35:08 +03:00 |
|
Ville Skyttä
|
0fd2bef229
|
javac: Add -*: option argument completion.
|
2011-04-28 21:28:05 +03:00 |
|
Ville Skyttä
|
23893f5149
|
java, javac: Add -X* completions.
They're revealed only when completing -X* due to the nature of these
options and the tools being a bit sluggish to invoke and parse
completions from.
|
2011-04-28 21:23:35 +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ä
|
f8de014a3e
|
info: Add option completion support.
|
2011-04-28 20:56:59 +03:00 |
|
Ville Skyttä
|
0c810d1471
|
getent: Add gshadow to known databases.
|
2011-04-28 20:52:50 +03:00 |
|
Ville Skyttä
|
fd2bd342e0
|
_parse_help: Fix --foo={bar,quux} handling.
|
2011-04-28 20:48:48 +03:00 |
|
Ville Skyttä
|
efeb1a22dd
|
man: Add option parsing and completion.
|
2011-04-28 20:48:41 +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ä
|
c3bddc49e0
|
bzip2, gzip, python, sysbench: Quote command argument to _parse_help().
|
2011-04-27 23:17:51 +03:00 |
|
Ville Skyttä
|
92ff96417d
|
_parse_help: Fix handling of tildes and escaped chars in command.
|
2011-04-27 22:10:40 +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ä
|
9dd125ee46
|
growisofs, _java_classes: Drop unnecessary compopt /dev/null redirections.
|
2011-04-27 18:40:01 +03:00 |
|
Ville Skyttä
|
ab6c6890ed
|
crontab, find: Replace some ugly string tricks with associative arrays.
|
2011-04-27 18:39:16 +03:00 |
|
Ville Skyttä
|
a098290816
|
pack200, unpack200: Use _split_longopt.
|
2011-04-27 18:38:37 +03:00 |
|
Ville Skyttä
|
f65dffd4f6
|
_java_classes: Drop unnecessary nospace toggling.
|
2011-04-27 18:38:16 +03:00 |
|
Ville Skyttä
|
c2d30fb8aa
|
smartctl: The short alternative for --tolerance is -T, not -t.
|
2011-04-27 18:37:22 +03:00 |
|
Ville Skyttä
|
48ffb0ac6d
|
No need to test for COMPREPLY count when toggling nospace.
It only takes effect if there's only one completion anyway.
|
2011-04-27 18:37:15 +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 |
|
David Paleino
|
7b2c2ebf9b
|
Complete filenames after commands in rrdtool (Debian: #577933)
|
2011-04-27 13:45:42 +02:00 |
|
Ville Skyttä
|
e35eabb791
|
Avoid some unnecessary commands.
|
2011-04-26 00:21:55 +03:00 |
|
Ville Skyttä
|
f48d6fb10d
|
Use {x..y} brace expansion instead of `seq', loops, or long literal sequences.
|
2011-04-26 00:15:03 +03:00 |
|
Ville Skyttä
|
976ba44825
|
Complete screen on commands (Alioth: #312164, RedHat: #547852).
|
2011-04-25 15:51:33 +03:00 |
|
Ville Skyttä
|
b029dfd823
|
Add some screen option non-completions.
|
2011-04-25 15:49:06 +03:00 |
|
Ville Skyttä
|
c5b771749b
|
Add _terms() and screen -T completion.
|
2011-04-25 15:49:06 +03:00 |
|
Ville Skyttä
|
3750aea95e
|
Remove stale comment.
|
2011-04-25 15:49:06 +03:00 |
|