Skip to content

Commit

Permalink
refactor(modprobe): deprecate in favor of upstream one in >= 35
Browse files Browse the repository at this point in the history
There isn't an equivalent merged upstream, yet, so use "expected to"
wording.

Issue: #1246
Signed-off-by: Emil Velikov <[email protected]>
  • Loading branch information
evelikov committed Nov 8, 2024
1 parent 61a01e9 commit 66a52b0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion completions/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ bashcomp_DATA = 2to3 \
mmsitepass \
_mock \
_modinfo \
modprobe \
_modprobe \
_modules \
monodevelop \
_mount \
Expand Down
3 changes: 3 additions & 0 deletions completions/modprobe → completions/_modprobe
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Linux modprobe(8) completion -*- shell-script -*-

# Use of this file is deprecated.
# Upstream completion is expected to be available in kmod >= 35, use that instead.

_comp_cmd_modprobe()
{
local cur prev words cword was_split comp_args
Expand Down
1 change: 1 addition & 0 deletions test/fallback/completions/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ EXTRA_DIST = \
mock \
modinfo \
modules \
modprobe \
mount \
mount.linux \
newgrp \
Expand Down
1 change: 1 addition & 0 deletions test/fallback/completions/modprobe

0 comments on commit 66a52b0

Please sign in to comment.