We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version: 1.2.0 CUPS.org User: twaugh.redhat
The lpadmin man page describes a '-U' option, but the binary does not accept it:
$ /usr/sbin/lpadmin -U root -p deskjet -u allow:all lpadmin: Unknown option 'U'!
The text was updated successfully, but these errors were encountered:
CUPS.org User: mike
Fixed in Subversion repository.
Sorry, something went wrong.
"str1702.patch":
--- lpadmin.c (revision 5543) +++ lpadmin.c (working copy) @@ -466,6 +466,25 @@ return (1); break;
case 'U' : /\* Username */
if (argv[i][2] != '\0')
cupsSetUser(argv[i] + 2);
else
{
i ++;
if (i >= argc)
_cupsLangPrintf(stderr,
_("%s: Error - expected username after "
"\'-U\' option!\n"),
argv[0]);
return (1);
}
cupsSetUser(argv[i]);
break;
case 'u' : /\* Allow/deny users */ if (argv[i][2]) val = argv[i] + 2;
No branches or pull requests
Version: 1.2.0
CUPS.org User: twaugh.redhat
The lpadmin man page describes a '-U' option, but the binary does not accept it:
$ /usr/sbin/lpadmin -U root -p deskjet -u allow:all
lpadmin: Unknown option 'U'!
The text was updated successfully, but these errors were encountered: