From 34eae734900f42f8127c1eda5ed729f02121ae47 Mon Sep 17 00:00:00 2001 From: Jun-ichi Takimoto Date: Fri, 11 Dec 2020 17:24:33 +0900 Subject: 47731 (+unposted): add run-help assistant for btrfs also fix format errors in contrib.yo --- Functions/Misc/run-help-btrfs | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Functions/Misc/run-help-btrfs (limited to 'Functions/Misc/run-help-btrfs') 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 -- cgit 1.4.1