VMM/cli/subcommands: userpassword added option -s.
-s SCHEME can be used to (temporarily) override the password_scheme
setting, configured in vmm.cfg.
#!/usr/bin/env python3# -*- coding: UTF-8 -*-# Copyright 2007 - 2014, Pascal Volk# See COPYING for distribution information."""This is the vmm main script."""importsysif__name__=='__main__':# replace the script's cwd (/usr/local/sbin) with our module dir# (the location of the VirtualMailManager directory) - if it is# not in sys.path#sys.path[0] = '/usr/local/lib/vmm'# Otherwise just remove /usr/local/sbin from sys.pathsys.path.remove(sys.path[0])fromVirtualMailManager.cli.mainimportrunsys.exit(run(sys.argv))