summaryrefslogtreecommitdiff
path: root/Functions
diff options
context:
space:
mode:
authorJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2020-12-11 17:24:33 +0900
committerJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2020-12-11 17:27:47 +0900
commit34eae734900f42f8127c1eda5ed729f02121ae47 (patch)
treed12a7a047c7d298887e116977934c755326ecd4b /Functions
parentf493b438fd2fd695a3082f780f192e570c299247 (diff)
downloadzsh-34eae734900f42f8127c1eda5ed729f02121ae47.tar.gz
zsh-34eae734900f42f8127c1eda5ed729f02121ae47.zip
47731 (+unposted): add run-help assistant for btrfs
also fix format errors in contrib.yo
Diffstat (limited to 'Functions')
-rw-r--r--Functions/Misc/run-help-btrfs22
1 files changed, 22 insertions, 0 deletions
diff --git a/Functions/Misc/run-help-btrfs b/Functions/Misc/run-help-btrfs
new file mode 100644
index 000000000..0dc1dabcb
--- /dev/null
+++ b/Functions/Misc/run-help-btrfs
@@ -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