Re: reposted feature request: assume 'help' as the argument when none is given and at least one is required
"Max Bowsher" <[email protected]>
| Newsgroups | gmane.mail.eyebrowse.user,gmane.comp.version-control.subversion.devel |
|---|---|
| Message-ID | <062701c504ca$1fc66dd0$e6ec6f83__17319.4719049663$1106869679$gmane$org@robinson.cam.ac.uk> |
Martin A. Brooks wrote: > Hi > > To me, this seems unintuitive: > > boole:~# svn > Type 'svn help' for usage. > > How about assuming that, when an svn command that takes arguments is > given none, 'help' is implied as the argument. > > So 'svn' with no arguments would become 'svn help' however 'svn up' > which is happy with no arguments doesn't. No, this is deliberate. "svn" is a meaningless errorful invocation. So, you get a message to that effect. Errors should never auto-display usage, because then the error gets easily lost, made much less visible compared to the large help text. Max.