mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-14 01:26:23 +01:00
Merge pull request #1145 from luc14n0/be-verbose-about-editor-osc-vc
Be verbose about osc vc using the EDITOR envar to the help output
This commit is contained in:
commit
66575f7fda
@ -8849,6 +8849,11 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
|||||||
email = user@defined.email
|
email = user@defined.email
|
||||||
|
|
||||||
or can be specified via mailaddr environment variable.
|
or can be specified via mailaddr environment variable.
|
||||||
|
|
||||||
|
By default, osc vc opens the program specified by the EDITOR
|
||||||
|
environment variable (and it uses Vim if that variable is not set) with
|
||||||
|
a temporary file that should replace the *.changes file when saved by
|
||||||
|
the editor, or discarded otherwise.
|
||||||
"""
|
"""
|
||||||
if opts.message and opts.file:
|
if opts.message and opts.file:
|
||||||
raise oscerr.WrongOptions('\'--message\' and \'--file\' are mutually exclusive')
|
raise oscerr.WrongOptions('\'--message\' and \'--file\' are mutually exclusive')
|
||||||
|
Loading…
Reference in New Issue
Block a user