diff options
author | Tim Potter <tpot@samba.org> | 2003-09-01 10:43:21 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2003-09-01 10:43:21 +0000 |
commit | 0869073b7b2a487564eeec8ac1a71406d4e09bfd (patch) | |
tree | efd934dc2dee0637cbbe1db772dc6e1d12221168 /source3 | |
parent | 0548123153643e00a4a91280aca2d031218f7292 (diff) | |
download | samba-0869073b7b2a487564eeec8ac1a71406d4e09bfd.tar.gz samba-0869073b7b2a487564eeec8ac1a71406d4e09bfd.tar.bz2 samba-0869073b7b2a487564eeec8ac1a71406d4e09bfd.zip |
Fix bug 342. Short version of --add now -a instead of -A.
(This used to be commit 233568dd6b08d3dfb48a712b763dfc31c03b229d)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/utils/smbcacls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/smbcacls.c b/source3/utils/smbcacls.c index c90c042106..58ee57b5dd 100644 --- a/source3/utils/smbcacls.c +++ b/source3/utils/smbcacls.c @@ -751,7 +751,7 @@ static struct cli_state *connect_one(const char *share) POPT_AUTOHELP { "delete", 'D', POPT_ARG_STRING, NULL, 'D', "Delete an acl", "ACL" }, { "modify", 'M', POPT_ARG_STRING, NULL, 'M', "Modify an acl", "ACL" }, - { "add", 'A', POPT_ARG_STRING, NULL, 'A', "Add an acl", "ACL" }, + { "add", 'a', POPT_ARG_STRING, NULL, 'a', "Add an acl", "ACL" }, { "set", 'S', POPT_ARG_STRING, NULL, 'S', "Set acls", "ACLS" }, { "chown", 'C', POPT_ARG_STRING, NULL, 'C', "Change ownership of a file", "USERNAME" }, { "chgrp", 'G', POPT_ARG_STRING, NULL, 'G', "Change group ownership of a file", "GROUPNAME" }, @@ -796,7 +796,7 @@ static struct cli_state *connect_one(const char *share) mode = SMB_ACL_MODIFY; break; - case 'A': + case 'a': the_acl = smb_xstrdup(poptGetOptArg(pc)); mode = SMB_ACL_ADD; break; |