1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-11 16:36:14 +01:00

Fix spelling of --separate-requests

This commit is contained in:
Jim McDonough 2016-08-16 11:40:34 -04:00
parent 8f2e0d9116
commit b9a53e3527
2 changed files with 4 additions and 4 deletions

2
dist/osc.complete vendored
View File

@ -635,7 +635,7 @@ less|cat)
fi
;;
sr|submitpac|submitreq|submitrequest)
opts=(--help --yes --diff --no-update --no-cleanup --cleanup --seperate-requests
opts=(--help --yes --diff --no-update --no-cleanup --cleanup --separate-requests
--nodevelproject --supersede --revision)
if ((count == 1)) ; then
builtin compgen -W "${osccmds[*]}" -- "${cmdline[count]}"

View File

@ -1042,8 +1042,8 @@ class Osc(cmdln.Cmdln):
@cmdln.option('--nodevelproject', action='store_true',
help='do not follow a defined devel project ' \
'(primary project where a package is developed)')
@cmdln.option('--seperate-requests', action='store_true',
help='Create multiple request instead of a single one (when command is used for entire project)')
@cmdln.option('--separate-requests', action='store_true',
help='Create multiple requests instead of a single one (when command is used for entire project)')
@cmdln.option('--cleanup', action='store_true',
help='remove package if submission gets accepted (default for home:<id>:branch projects)')
@cmdln.option('--no-cleanup', action='store_true',
@ -1180,7 +1180,7 @@ class Osc(cmdln.Cmdln):
sys.exit("Please fix this first")
# submitting this package
if opts.seperate_requests:
if opts.separate_requests:
# create a single request
result = create_submit_request(apiurl, project, p)
if not result: