From: Robert P. J. Day Date: Thu, 24 May 2018 11:45:50 GMT Subject: is the standard "[]", and not "[options]" or other? Message-ID: more pedantry -- was digging through "man git-diff" and noticed the inconsistency in how options are represented. first, in the synopsis, you see "[options]": SYNOPSIS git diff [options] [] [--] [...] git diff [options] --cached [] [--] [...] git diff [options] [--] [...] git diff [options] git diff [options] [--no-index] [--] while just below that in DESCRIPTION, it's all "[--options]": git diff [--options] [--] [...] ^^^^^^^^^^^ a further search produced this from RelNotes/2.7.0.txt: "A couple of commands still showed "[options]" in their usage string to note where options should come on their command line, but we spell that "[]" in most places these days." so, "git diff -h" does in fact use the allegedly encouraged syntax: $ git diff -h usage: git diff [] [ []] [--] [...] $ but should the man pages be updated similarly? i can whip up a patch for that unless someone wants to comment on this further. rday -- ======================================================================== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca/dokuwiki Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ========================================================================