﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
22985	call_command() ignores dest from make_option() and uses kwarg name instead	Markus Amalthea Magnuson	nobody	"Let's say I've defined a custom manage command and added an option to it like this:

{{{
option_list = BaseCommand.option_list + (
    make_option('--myoption', action='store', dest='my_opt_var'),
)
}}}

I can now call this from the command-line like this:

{{{
./manage.py mycommand --my_opt_var=abc
}}}

And there will now be an entry in the options dictionary: `options['my_opt_var']`

However, if I call the same command from code:

{{{
call_command('mycommand', myoption='abc')
}}}

The added entry will instead use the name of the keyword argument: `options['myoption']`

I would expect `call_command()` to use what I've specified through the `dest` parameter of `make_option()`"	Bug	closed	Core (Management commands)	dev	Normal	fixed			Ready for checkin	1	0	0	0	0	0
