From b9a53e3527506e3e9327de7faa24433f4ae18893 Mon Sep 17 00:00:00 2001 From: Jim McDonough Date: Tue, 16 Aug 2016 11:40:34 -0400 Subject: [PATCH] Fix spelling of --separate-requests --- dist/osc.complete | 2 +- osc/commandline.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/osc.complete b/dist/osc.complete index c1a3675c..0bea914a 100755 --- a/dist/osc.complete +++ b/dist/osc.complete @@ -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]}" diff --git a/osc/commandline.py b/osc/commandline.py index 06f5b17a..41e162f7 100644 --- a/osc/commandline.py +++ b/osc/commandline.py @@ -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::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: