1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-26 01:46:13 +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:
Daniel Mach 2022-09-16 12:21:19 +02:00 committed by GitHub
commit 66575f7fda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8849,6 +8849,11 @@ Please submit there instead, or use --nodevelproject to force direct submission.
email = user@defined.email
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:
raise oscerr.WrongOptions('\'--message\' and \'--file\' are mutually exclusive')