summaryrefslogtreecommitdiff
path: root/completions/hwclock
diff options
context:
space:
mode:
Diffstat (limited to 'completions/hwclock')
-rw-r--r--completions/hwclock6
1 files changed, 3 insertions, 3 deletions
diff --git a/completions/hwclock b/completions/hwclock
index e9d77aa2..9f8f9b15 100644
--- a/completions/hwclock
+++ b/completions/hwclock
@@ -11,12 +11,12 @@ _hwclock()
;;
-f|--rtc|--adjfile)
_filedir
+ return
;;
esac
- [[ $cur == -* ]] && \
- COMPREPLY=( $( PATH="$PATH:/sbin"
- compgen -W '$( _parse_help "$1" )' -- "$cur" ) )
+ COMPREPLY=(
+ $( PATH="$PATH:/sbin" compgen -W '$( _parse_help "$1" )' -- "$cur" ) )
} &&
complete -F _hwclock hwclock