Fix typos on Roles section: examples provided does not work (#53)
authorJosé Gonçalves <Tosta-Mixta@users.noreply.github.com>
Mon, 7 May 2018 14:25:21 +0000 (16:25 +0200)
committerRafael Weingärtner <rafaelweingartner@gmail.com>
Mon, 7 May 2018 14:25:21 +0000 (11:25 -0300)
source/accounts.rst

index 4f41647..5d4615d 100644 (file)
@@ -171,9 +171,14 @@ Options:
 
 Examples:
 
-sudo python /usr/share/cloudstack-common/scripts/util/migrate-dynamicroles.py -u cloud -p cloud -h localhost -p 3006 -f /etc/cloudstack/management/commands.properties
+.. sourcecode:: bash
+
+   sudo python /usr/share/cloudstack-common/scripts/util/migrate-dynamicroles.py -u cloud -p cloud -H localhost -P 3006 -f /etc/cloudstack/management/commands.properties
+
+.. sourcecode:: bash
+   
+   sudo python /usr/share/cloudstack-common/scripts/util/migrate-dynamicroles.py -u cloud -p cloud -H localhost -P 3006 -D
 
-sudo python /usr/share/cloudstack-common/scripts/util/migrate-dynamicroles.py -u cloud -p cloud -h localhost -p 3006 -D
 
 If you've multiple management servers, remove or rename the commands.properties
 file on the management servers typically in /etc/cloudstack/management path,