group.py: Fix wrong example option, remove wrong comment line
authorMarc Muehlfeld <mmuehlfeld@samba.org>
Sat, 24 Jan 2015 14:59:40 +0000 (15:59 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Tue, 17 Feb 2015 14:41:11 +0000 (15:41 +0100)
Replaced "--gid" with the correct "--gid-number" in Example 3.
Additionally removed the first comment line in group.py, which
was wrong in that file.

Signed-off-by: Marc Muehlfeld <mmuehlfeld@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
python/samba/netcmd/group.py

index 4b5fd27d79c3a06d4771b10e3d7bfa8c66c73365..722bcc4887fcc15bab7cf8a9eb56e3f1e45d3145 100644 (file)
@@ -1,4 +1,3 @@
-# Adds a new user to a Samba4 server
 # Copyright Jelmer Vernooij 2008
 #
 # Based on the original in EJS:
@@ -72,7 +71,7 @@ sudo samba-tool group add Group2 --group-type=Distribution
 Example2 adds a new distribution group to the local server.  The command is run under root using the sudo command.
 
 Example3:
-samba-tool group add Group3 --nis-domain=samdom --gid=12345
+samba-tool group add Group3 --nis-domain=samdom --gid-number=12345
 
 Example3 adds a new RFC2307 enabled group for NIS domain samdom and GID 12345 (both options are required to enable this feature).
 """