Re: Subject: [PATCH/RFC] Documentation/git-stripspace: Update synopsis

2014-11-19 Thread Junio C Hamano
Slavomir Vlcek writes: > I solved this by adding an extra (second) synopsis line > so it looks just like the 'usage_msg' in 'builtin/stripspace.c'. > > But perhaps it would be wiser to have something like > "git stripspace [[-s | --strip-comments] | [-c | --comment-lines]] < input" > instead (and

Re: Subject: [PATCH/RFC] Documentation/git-stripspace: Update synopsis

2014-11-18 Thread Slavomir Vlcek
On 11/19/2014 12:16 AM, Slavomir Vlcek wrote: > b) In the documentation there is: > "-s, --strip-comments >Skip and remove all lines starting with comment character (default > #)." > > part. This "default" word somehow suggests some new command option that would > allow to change the

Subject: [PATCH/RFC] Documentation/git-stripspace: Update synopsis

2014-11-18 Thread Slavomir Vlcek
Add synopsis with the '--comment-lines' option. Signed-off-by: Slavomir Vlcek --- Hi, there were no mention of '--comment-lines' in the synopsis. ('--comment-lines' and '--strip-comments' options are mutually exclusive). I solved this by adding an extra (second) synopsis line so it looks just