about summary refs log tree commit diff
path: root/Completion/Linux/Command/_kpartx
blob: 8f09c416dedce2bc86a33af5b5d6e7f5db8f3667 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#compdef kpartx

_arguments -s -S : \
  '-a[add partition mappings]' \
  '-r[read-only partition mappings]' \
  '-d[delete partition mappings]' \
  '-u[update partition mappings]' \
  '-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'