1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-02-15 23:07:18 +01:00

Merge pull request #1604 from daissi/typo

Fix typos in commandline.py
This commit is contained in:
Daniel Mach 2024-08-20 10:20:22 +02:00 committed by GitHub
commit 647fbd6d7d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3676,7 +3676,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
""" """
apiurl = self.get_api_url() apiurl = self.get_api_url()
# assume we're in a working copy if no args were specfied # assume we're in a working copy if no args were specified
update_working_copy = not args update_working_copy = not args
args = list(args) args = list(args)
@ -4379,7 +4379,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
With getpac or bco, the branched package will come from one of With getpac or bco, the branched package will come from one of
%(getpac_default_project)s %(getpac_default_project)s
(list of projects from oscrc:getpac_default_project) (list of projects from oscrc:getpac_default_project)
if nothing else is specfied on the command line. if nothing else is specified on the command line.
In case of branch errors, where the source has currently merge In case of branch errors, where the source has currently merge
conflicts use --linkrev=base option. conflicts use --linkrev=base option.
@ -5581,7 +5581,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
@cmdln.option('-F', '--file', metavar='FILE', @cmdln.option('-F', '--file', metavar='FILE',
help='read log message from FILE, \'-\' denotes standard input.') help='read log message from FILE, \'-\' denotes standard input.')
@cmdln.option('-f', '--force', default=False, action="store_true", @cmdln.option('-f', '--force', default=False, action="store_true",
help='Allow empty commit with no changes. When commiting a project, allow removing packages even if other packages depend on them.') help='Allow empty commit with no changes. When committing a project, allow removing packages even if other packages depend on them.')
@cmdln.option("--skip-local-service-run", "--noservice", "--no-service", default=False, action="store_true", @cmdln.option("--skip-local-service-run", "--noservice", "--no-service", default=False, action="store_true",
help="Skip run of local source services as specified in _service file.") help="Skip run of local source services as specified in _service file.")
def do_commit(self, subcmd, opts, *args): def do_commit(self, subcmd, opts, *args):
@ -7320,7 +7320,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
osc build [OPTS] --alternative-project openSUSE:10.3 standard i586 BUILD_DESCR osc build [OPTS] --alternative-project openSUSE:10.3 standard i586 BUILD_DESCR
usage: usage:
osc build [OPTS] # will try to guess a build environement osc build [OPTS] # will try to guess a build environment
osc build [OPTS] REPOSITORY ARCH BUILD_DESCR osc build [OPTS] REPOSITORY ARCH BUILD_DESCR
osc build [OPTS] REPOSITORY ARCH osc build [OPTS] REPOSITORY ARCH
osc build [OPTS] REPOSITORY (ARCH = hostarch, BUILD_DESCR is detected automatically) osc build [OPTS] REPOSITORY (ARCH = hostarch, BUILD_DESCR is detected automatically)