From: Duy Nguyen Date: Sun, 02 Dec 2018 10:18:49 GMT Subject: Re: Confusing inconsistent option syntax Message-ID: In-Reply-To: <20181202100747.GA5019@laptop> On Sun, Dec 2, 2018 at 11:13 AM Robert White wrote: > > `git log --pretty short` gives the error message "ambiguous argument > 'short'". To get the expected result, you need to use `git log > --pretty=short`. However, `git log --since yesterday` and `git log > --since=yesterday` both work as expected. > > When is an = needed? What is the reason for these inconsistencies? --pretty can take no arguments. --pretty alone is the same as --pretty=medium. --since always needs an argument. -- Duy