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=0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 13512 invoked from network); 13 Dec 2020 08:08:21 -0000 Received: from ewsd.inri.net (107.191.116.128) by inbox.vuxu.org with ESMTPUTF8; 13 Dec 2020 08:08:21 -0000 Received: from wopr.sciops.net ([216.126.196.60]) by ewsd; Sun Dec 13 03:04:42 -0500 2020 Received: (qmail 55521 invoked by uid 1001); 13 Dec 2020 00:04:37 -0800 Date: Sun, 13 Dec 2020 00:04:37 -0800 From: Kurt H Maier To: 9front@9front.org Message-ID: Mail-Followup-To: 9front@9front.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: overflow-preventing cloud GPU-scale frontend Subject: Re: [9front] Tar's usage messages Reply-To: 9front@9front.org Precedence: bulk On Sun, Dec 13, 2020 at 01:47:19PM +0600, kl wrote: > Hi, > > How should I read this, > > > tar {crtx}[PRTfgkmpuvz] [archive] file1 file2... > > > > Is there any document out there which describes the conventions for > documenting command line arguments? There is no central rulebook for usage messages; each program must print its own. Generally, elements in square brackets are optional arguments, and elements without them are required. In tar(1)'s case the {crtx} section indicates that you may have at most one function. Usually it is advisable to consult the manpage if the printed usage message isn't helpful enough. khm