Skip to content

Commit dfb1a88

Browse files
committed
refactor(_hwclock): use _comp_compgen_help
1 parent a286e4f commit dfb1a88

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

completions/_hwclock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ _comp_cmd_hwclock()
1818
;;
1919
esac
2020

21-
COMPREPLY=(
22-
$(PATH="$PATH:/sbin" compgen -W '$(_parse_help "$1")' -- "$cur"))
21+
local PATH=$PATH:/sbin
22+
_comp_compgen_help
2323
} &&
2424
complete -F _comp_cmd_hwclock hwclock
2525

0 commit comments

Comments
 (0)