Commit 115725da authored by Alex Kelly's avatar Alex Kelly
Browse files

Added the same --user and --group options to lemonldap-ng-cli

parent da87299b
...@@ -3,6 +3,15 @@ ...@@ -3,6 +3,15 @@
use warnings; use warnings;
use strict; use strict;
use POSIX; 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; my $action;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment