Skip to content

Commit

Permalink
Fix typos in commandline.py
Browse files Browse the repository at this point in the history
Detected by lintian

Signed-off-by: Dylan Aïssi <dylan.aissi@collabora.com>
  • Loading branch information
daissi committed Aug 5, 2024
1 parent d8bfd45 commit 1b028c5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions osc/commandline.py
Original file line number Diff line number Diff line change
Expand Up @@ -3676,7 +3676,7 @@ def do_linktobranch(self, subcmd, opts, *args):
"""
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

args = list(args)
Expand Down Expand Up @@ -4379,7 +4379,7 @@ def do_branch(self, subcmd, opts, *args):
With getpac or bco, the branched package will come from one of
%(getpac_default_project)s
(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
conflicts use --linkrev=base option.
Expand Down Expand Up @@ -5581,7 +5581,7 @@ def do_addremove(self, subcmd, opts, *args):
@cmdln.option('-F', '--file', metavar='FILE',
help='read log message from FILE, \'-\' denotes standard input.')
@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",
help="Skip run of local source services as specified in _service file.")
def do_commit(self, subcmd, opts, *args):
Expand Down Expand Up @@ -7320,7 +7320,7 @@ def do_build(self, subcmd, opts, *args):
osc build [OPTS] --alternative-project openSUSE:10.3 standard i586 BUILD_DESCR
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
osc build [OPTS] REPOSITORY (ARCH = hostarch, BUILD_DESCR is detected automatically)
Expand Down

0 comments on commit 1b028c5

Please sign in to comment.