File: _insmod

package info (click to toggle)
kmod 34.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,864 kB
  • sloc: ansic: 16,990; makefile: 498; sh: 382; xml: 61; perl: 12
file content (14 lines) | stat: -rw-r--r-- 552 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#compdef insmod

# insmod(8) completion                                      -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1-or-later
#
# SPDX-FileCopyrightText: 2024 Emil Velikov <emil.l.velikov@gmail.com>

_arguments \
    {-f,--force}'[DANGEROUS: forces a module load, may cause data corruption and crash your machine]' \
    {-s,--syslog}'[print to syslog, not stderr]' \
    {-v,--verbose}'[enables more messages]' \
    {-V,--version}'[show version]' \
    {-h,--help}'[show this help]' \
    '1::module:_files -g "*.ko(|.gz|.xz|.zst)"'