diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2011-04-21 11:04:51 +0300 |
---|---|---|
committer | Ville Skyttä <ville.skytta@iki.fi> | 2011-04-21 11:15:01 +0300 |
commit | 8048917968a679f3eecfd5fd237a7ee2823ab855 (patch) | |
tree | f8f9e67299a0005b1b2441c3232f4c08932385e9 /completions/rtcwake | |
parent | e3ca91b9866e60ac541c9a1cf065b855a1681bc3 (diff) | |
download | bash-completion-8048917968a679f3eecfd5fd237a7ee2823ab855.tar.gz |
Use _init_completion() in completions/[q-z]*.
Diffstat (limited to 'completions/rtcwake')
-rw-r--r-- | completions/rtcwake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/completions/rtcwake b/completions/rtcwake index 9f2e896e..7cfb49bd 100644 --- a/completions/rtcwake +++ b/completions/rtcwake @@ -4,10 +4,10 @@ have rtcwake || return _rtcwake() { - COMPREPLY=() - local cur prev split=false - _get_comp_words_by_ref cur prev + local cur prev words cword + _init_completion || return + local split=false _split_longopt && split=true case "$prev" in |