From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.1 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 9D3321F4B8 for ; Thu, 9 Mar 2023 19:28:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1678390123; bh=k6A2w3wtXfNfEJW5OCCKREV+YyXLuIkvAFRIOTy67qs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Sm9Cjb0marZCkcgtcNTUwjgILvYLpWbJw487GGhCASXRsIrsRVtNR28zWjJpHomLr +qH/KZ7J9xKUc5HKM6MoN2CTg/4qxxG0FeOHMriYAFp7rbfVWKr/jckDtpY0ocMZsG O7uQQz2yBnRtKTE+kFNONQb3o8VLRFjc213yrhC0= From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 5/6] doc: lei config: update with --edit and --list examples Date: Thu, 9 Mar 2023 19:28:41 +0000 Message-Id: <20230309192842.625820-6-e@80x24.org> In-Reply-To: <20230309192842.625820-1-e@80x24.org> References: <20230309192842.625820-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: I typically use --edit/-e to make changes and --list/-l with git; and same with lei. --- Documentation/lei-config.pod | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/Documentation/lei-config.pod b/Documentation/lei-config.pod index 663404fe..23a60c8a 100644 --- a/Documentation/lei-config.pod +++ b/Documentation/lei-config.pod @@ -4,7 +4,11 @@ lei-config - git-config wrapper for lei configuration file =head1 SYNOPSIS -lei config [OPTIONS] +lei config [[] []] + +lei config -l | --list + +lei config -e | --edit =head1 DESCRIPTION @@ -97,6 +101,27 @@ C, C, and C. =back +=head1 OPTIONS + +Most L command-line switches are accepted by C +as-is. The most-frequently-used options are expected to be: + +=over 4 + +=item -e + +=item --edit + +Opens an editor to edit the lei config file + +=item -l + +=item --list + +List all variables set in config file, along with their values. + +=back + =head1 CONTACT Feedback welcome via plain-text mail to L @@ -106,6 +131,6 @@ L =head1 COPYRIGHT -Copyright 2021 all contributors L +Copyright all contributors L License: AGPL-3.0+ L