Mailinglist Archive: opensuse-buildservice (151 mails)

< Previous Next >
Re: [opensuse-buildservice] [PATCH] vc: added -t <text> option in order to support a template
On 2014-03-06 13:30:56 +0100, Jan Engelhardt wrote:

On Thursday 2014-03-06 11:08, Marcus Huewe wrote:
+ if [ -n "$just_edit" -o -n "$template" ]; then
+ echo "-m, -e and -t are mutually exclusive!"
exit 1
fi

Speaking of which: why _are_ -m and -e exclusive? -m gives the
message and -e invokes the editor. To me, that's not a conflict. Git
can do it, so osc should too.

-e opens the editor without adding a "header".
-m just adds a message (+ header) to the file and does not invoke the
editor

I can also add support for "-e -m <text>":
- add header + text
- invoke editor

(that is what -t <text> is doing).

Any opinions?


Marcus
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >