summaryrefslogtreecommitdiff
path: root/completions/_rtcwake
diff options
context:
space:
mode:
Diffstat (limited to 'completions/_rtcwake')
-rw-r--r--completions/_rtcwake8
1 files changed, 4 insertions, 4 deletions
diff --git a/completions/_rtcwake b/completions/_rtcwake
index b03c1244..43d264c9 100644
--- a/completions/_rtcwake
+++ b/completions/_rtcwake
@@ -13,19 +13,19 @@ _rtcwake()
return
;;
--mode|-m)
- COMPREPLY=( $( compgen -W 'standby mem disk on no off' -- "$cur" ) )
+ COMPREPLY=( $(compgen -W 'standby mem disk on no off' -- "$cur") )
return
;;
--device|-d)
- COMPREPLY=( $( command ls -d /dev/rtc?* 2>/dev/null ) )
- COMPREPLY=( $( compgen -W '${COMPREPLY[@]#/dev/}' -- "$cur" ) )
+ COMPREPLY=( $(command ls -d /dev/rtc?* 2>/dev/null) )
+ COMPREPLY=( $(compgen -W '${COMPREPLY[@]#/dev/}' -- "$cur") )
return
;;
esac
$split && return
- COMPREPLY=( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) )
+ COMPREPLY=( $(compgen -W '$(_parse_help "$1")' -- "$cur") )
} &&
complete -F _rtcwake rtcwake