mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-03 10:06:17 +01:00
Merge branch 'spelling-fix' of https://github.com/jmcdough/osc
This commit is contained in:
commit
a241a94064
2
dist/osc.complete
vendored
2
dist/osc.complete
vendored
@ -635,7 +635,7 @@ less|cat)
|
|||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
sr|submitpac|submitreq|submitrequest)
|
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)
|
--nodevelproject --supersede --revision)
|
||||||
if ((count == 1)) ; then
|
if ((count == 1)) ; then
|
||||||
builtin compgen -W "${osccmds[*]}" -- "${cmdline[count]}"
|
builtin compgen -W "${osccmds[*]}" -- "${cmdline[count]}"
|
||||||
|
@ -1042,8 +1042,8 @@ class Osc(cmdln.Cmdln):
|
|||||||
@cmdln.option('--nodevelproject', action='store_true',
|
@cmdln.option('--nodevelproject', action='store_true',
|
||||||
help='do not follow a defined devel project ' \
|
help='do not follow a defined devel project ' \
|
||||||
'(primary project where a package is developed)')
|
'(primary project where a package is developed)')
|
||||||
@cmdln.option('--seperate-requests', action='store_true',
|
@cmdln.option('--separate-requests', action='store_true',
|
||||||
help='Create multiple request instead of a single one (when command is used for entire project)')
|
help='Create multiple requests instead of a single one (when command is used for entire project)')
|
||||||
@cmdln.option('--cleanup', action='store_true',
|
@cmdln.option('--cleanup', action='store_true',
|
||||||
help='remove package if submission gets accepted (default for home:<id>:branch projects)')
|
help='remove package if submission gets accepted (default for home:<id>:branch projects)')
|
||||||
@cmdln.option('--no-cleanup', action='store_true',
|
@cmdln.option('--no-cleanup', action='store_true',
|
||||||
@ -1180,7 +1180,7 @@ class Osc(cmdln.Cmdln):
|
|||||||
sys.exit("Please fix this first")
|
sys.exit("Please fix this first")
|
||||||
|
|
||||||
# submitting this package
|
# submitting this package
|
||||||
if opts.seperate_requests:
|
if opts.separate_requests:
|
||||||
# create a single request
|
# create a single request
|
||||||
result = create_submit_request(apiurl, project, p)
|
result = create_submit_request(apiurl, project, p)
|
||||||
if not result:
|
if not result:
|
||||||
|
Loading…
Reference in New Issue
Block a user