def _format_args(args):
	"""Formats a series of arguments as an STSADM argument string"""
	argstring = ""
	for kw in args.keys():
		if type(args[kw]) is bool:
			if args[kw] == True:
				argstring += "-" + kw
		else:
			argstring += "-" + kw + " \"" + args[kw] + "\""
		argstring += " "
		
	return argstring