From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 4863 invoked from network); 17 May 2023 22:20:29 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 17 May 2023 22:20:29 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1684362029; b=MjuosqW16MIWbuCOsay4VeBpdTaOF6DdFFkqamkXImNzK11Un1gw+DsuG6tFzi2vNL5cLM/suH AiyA1JZAJV/FIUQd7UzlH3725mTrh1VvoIFEe5FSIewGs5uOPlQNSBk5Mjehy++AdPBJUDgKMi ScJ1NBElbEDnZr5YT1I+hGm5fo5Oz9n5V44/GA3DmWwMZOBuCizoCEfINudrgHa+pDPnuVZSro BPKDN2JYMCU2EVoy984vvZKZP1mv6MXy90EHrDZ/bSE1OaHJRYLINpNh9AlLDZGMCc/P4D4RHD Rx/DxnCG9OObAG2xv8nkqqeq2t8XskxeqmQLBmCSimcffA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (s1.jo-so.de) smtp.remote-ip=37.221.195.157; dmarc=none header.from=jo-so.de; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1684362029; bh=Bjk3oBG+nJk1IGRKK9XJfpkaTP1KjmzmpQIUAvnLUoA=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:Cc:To:From:DKIM-Signature; b=DCWrtq2D6r9gLz6/Wz4v6r3anZJkYgRIQemLhmyuNCBq8rN7/0Bcaw1E6IPKgdHb67KJiPrqJZ dzvBZW5MxJN+6lpB3fzCgh5CxeVyZBc5+iCdmVCt06Zstzmq0SAr8gGIoa85NAKJgzVZEOBny0 3MkvLTTKL2jmRY/T6HTjr+14x4aGp5DadLtK8UXYwQba734xRZApPwmEu6e5iVeGpTOk19RTnm lG1ac4m83tebm7DKksN6GxO/cl9izX5taQGJZFX74qgKdVP4vJnY4p/JBG4Gpb0XkHvr+zq4We U1nVY/GZMhIFklab2H7abGdpctbcOWMWPWcGRtETvYdOyQ==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=PueiBZ97DXu4ppGdNqtYDECHhOpV/g4vJ3AWegoulTQ=; b=UoJkhOGokRzcOUKhHxQUNBNnX2 Xvg5qpjQwjTybmOGoT2sPX2w35H4NLIKa0RgvDSX9rwQspjOjwPqhJKwVn+dj9l5PVTNBsrAq3uc9 Qp14Qv33JbRYwwsbpUcopDbNNgHizwyj22fYyEym7kk+qVhxPIUWJ1igxMevmA6clKsNFM+ajCULx xLr4nt/0kxefTyBFla1AGTEU4DJfrewv6YEPwjXjf8ZCFRiYrjEXyaEc+wEOexD9CqTqoYv1Y3cZq Lfe54Sf1aMp422Ss9uCo2UKT6GYcDfWFyfuSv29IBxDOyP6g5amwRZPt6q7tqt0jPUoYtMKGkuU/l roAPUHzQ==; Received: by zero.zsh.org with local id 1pzPVU-000ASi-VA; Wed, 17 May 2023 22:20:28 +0000 Authentication-Results: zsh.org; iprev=pass (s1.jo-so.de) smtp.remote-ip=37.221.195.157; dmarc=none header.from=jo-so.de; arc=none Received: from s1.jo-so.de ([37.221.195.157]:54997) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1pzPOu-0008F0-2M; Wed, 17 May 2023 22:13:40 +0000 Received: from mail-relay (helo=jo-so.de) by s1.jo-so.de with local-bsmtp (Exim 4.94.2) (envelope-from ) id 1pzPOt-0001MK-No for zsh-workers@zsh.org; Thu, 18 May 2023 00:13:39 +0200 Received: from joerg by zenbook.jo-so.de with local (Exim 4.96) (envelope-from ) id 1pzPOt-005Qh9-0Y; Thu, 18 May 2023 00:13:39 +0200 From: =?UTF-8?q?J=C3=B6rg=20Sommer?= To: zsh-workers@zsh.org Cc: =?UTF-8?q?J=C3=B6rg=20Sommer?= Subject: [PATCH 4/4] run-help for docker, perf, podman, ssh, svnadmin Date: Thu, 18 May 2023 00:12:47 +0200 Message-Id: X-Mailer: git-send-email 2.40.1 In-Reply-To: <2322b9b9b46c585516c4347ad3b07a9db26f0a7f.1684361567.git.joerg@jo-so.de> References: <2322b9b9b46c585516c4347ad3b07a9db26f0a7f.1684361567.git.joerg@jo-so.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Seq: 51749 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: , List-Subscribe: , List-Unsubscribe: , List-Post: List-Owner: List-Archive: --- Functions/Misc/run-help-docker | 9 +++++++++ Functions/Misc/run-help-perf | 1 + Functions/Misc/run-help-podman | 9 +++++++++ Functions/Misc/run-help-ssh | 6 ++++++ Functions/Misc/run-help-svnadmin | 1 + 5 files changed, 26 insertions(+) create mode 100644 Functions/Misc/run-help-docker create mode 100644 Functions/Misc/run-help-perf create mode 100644 Functions/Misc/run-help-podman create mode 100644 Functions/Misc/run-help-ssh create mode 100644 Functions/Misc/run-help-svnadmin diff --git a/Functions/Misc/run-help-docker b/Functions/Misc/run-help-docker new file mode 100644 index 000000000..09a8a221a --- /dev/null +++ b/Functions/Misc/run-help-docker @@ -0,0 +1,9 @@ +if [[ $# == 0 ]] +then + man docker +elif [[ $# > 1 && $1 == (builder|checkpoint|config|container|context|image|manifest|network|node|plugin|secret|service|stack|swarm|system|trust|volume) ]] +then + man docker-$1-$2 +else + man docker-$1 +fi diff --git a/Functions/Misc/run-help-perf b/Functions/Misc/run-help-perf new file mode 100644 index 000000000..2e0695af2 --- /dev/null +++ b/Functions/Misc/run-help-perf @@ -0,0 +1 @@ +man perf${1:+-$1} diff --git a/Functions/Misc/run-help-podman b/Functions/Misc/run-help-podman new file mode 100644 index 000000000..64d9cd83f --- /dev/null +++ b/Functions/Misc/run-help-podman @@ -0,0 +1,9 @@ +if [[ $# == 0 ]] +then + man podman +elif [[ $# > 1 && $1 == (container|generate|healthcheck|image|kube|machine|manifest|network|pod|secret|system|volume) ]] +then + man podman-$1-$2 +else + man podman-$1 +fi diff --git a/Functions/Misc/run-help-ssh b/Functions/Misc/run-help-ssh new file mode 100644 index 000000000..3ed9b3a09 --- /dev/null +++ b/Functions/Misc/run-help-ssh @@ -0,0 +1,6 @@ +if [[ $# -eq 0 ]] +then + man ssh +else + run-help $1 +fi diff --git a/Functions/Misc/run-help-svnadmin b/Functions/Misc/run-help-svnadmin new file mode 100644 index 000000000..dbddd6396 --- /dev/null +++ b/Functions/Misc/run-help-svnadmin @@ -0,0 +1 @@ +svnadmin help $1 | ${=PAGER:-more} -- 2.40.1