projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add CTY-2506 prefix file
[spider.git]
/
cmd
/
export_users.pl
diff --git
a/cmd/export_users.pl
b/cmd/export_users.pl
index 4c143ebbf43c80776bff8e65e616513f64f52057..a8cec7de3b074614b5a2f4add19b3b3c944d3df8 100644
(file)
--- a/
cmd/export_users.pl
+++ b/
cmd/export_users.pl
@@
-1,9
+1,12
@@
#
# the export the user file to ascii command
#
#
# the export the user file to ascii command
#
-#
$Id$
+#
#
my $self = shift;
#
my $self = shift;
-return (1, $self->msg('e5')) unless $self->priv >= 9;
my $line = shift || "$main::data/user_asc";
my $line = shift || "$main::data/user_asc";
-return (1, DXUser::export($line));
+return (1, $self->msg('e5')) unless $self->priv >= 9;
+
+my ($fn, $flag) = split /\s+/, $line;
+my $strip = $flag eq 'strip';
+return (1, DXUser::export($fn, $strip));