mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-23 16:40:24 +02:00
47731 (+unposted): add run-help assistant for btrfs
also fix format errors in contrib.yo
This commit is contained in:
parent
f493b438fd
commit
34eae73490
3 changed files with 35 additions and 6 deletions
22
Functions/Misc/run-help-btrfs
Normal file
22
Functions/Misc/run-help-btrfs
Normal file
|
@ -0,0 +1,22 @@
|
|||
while [[ $# != 0 && $1 == -* ]]; do
|
||||
shift
|
||||
done
|
||||
|
||||
case $1 in
|
||||
(b*) man btrfs-balance ;;
|
||||
(c*) man btrfs-check ;;
|
||||
(d*) man btrfs-device ;;
|
||||
(f*) man btrfs-filesystem ;;
|
||||
(i*) man btrfs-inspect-internal ;;
|
||||
(p*) man btrfs-property ;;
|
||||
(qg*) man btrfs-qgroup ;;
|
||||
(qu*) man btrfs-quota ;;
|
||||
(rec*) man btrfs-receive ;;
|
||||
(rep*) man btrfs-replace ;;
|
||||
(resc*) man btrfs-rescue ;;
|
||||
(rest*) man btrfs-restore ;;
|
||||
(sc*) man btrfs-scrub ;;
|
||||
(se*) man btrfs-send ;;
|
||||
(su*) man btrfs-subvolume ;;
|
||||
(*) man btrfs ;;
|
||||
esac
|
Loading…
Add table
Add a link
Reference in a new issue