Added the same --user and --group options to lemonldap-ng-cli
This commit is contained in:
parent
da87299b1d
commit
115725dae5
|
@ -3,6 +3,15 @@
|
|||
use warnings;
|
||||
use strict;
|
||||
use POSIX;
|
||||
use Getopt::Long;
|
||||
|
||||
our $opt_user = 'apache';
|
||||
our $opt_group = 'apache';
|
||||
GetOptions (
|
||||
"user=s" => \$opt_user,
|
||||
"group=s" => \$opt_group
|
||||
)
|
||||
or die("Error in command line arguments\n");
|
||||
|
||||
my $action;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user