about summary refs log tree commit diff
path: root/Completion/Linux/Command/_kpartx
blob: 79a8dd8a775377c6a361b82eade1b5b5c9d5320f (plain) (blame)
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'