The '-V' is already used for '-V|--version' in the common options.
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
enum {
OPT_VIEW_ALL = 1000,
+ OPT_VIEW_SDDL,
};
int main(int argc, const char *argv[])
},
{
.longName = "viewsddl",
- .shortName = 'V',
.argInfo = POPT_ARG_NONE,
.arg = the_acl,
- .val = 'V',
+ .val = OPT_VIEW_SDDL,
.descrip = "View the SD in sddl format",
},
{
the_acl = smb_xstrdup(poptGetOptArg(pc));
break;
- case 'V':
+ case OPT_VIEW_SDDL:
mode = SMB_SD_VIEWSDDL;
break;