File: _kpartx

package info (click to toggle)
zsh 5.9-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 22,872 kB
  • sloc: ansic: 108,165; sh: 6,987; makefile: 722; perl: 687; awk: 291; sed: 16
file content (14 lines) | stat: -rw-r--r-- 488 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#compdef kpartx

_arguments -s -S : \
  '(-d -u -l)-a[add partition mappings]' \
  '-r[read-only partition mappings]' \
  '(-a -u -l)-d[delete partition mappings]' \
  '(-a -d -l)-u[update partition mappings]' \
  '(-a -d -u)-l[list partition mappings]' \
  '-p[set device name-partition number delimiter]' \
  '-f[force creation of mappings]' \
  '-g[force GUID partition table]' \
  '-v[operate verbosely]' \
  '-n[return before the partitions are created]' '!(-n)-s' \
  '1: : _files'