fix console.pl max scroll depth
[spider.git] / cmd / export_users.pl
index 4c143ebbf43c80776bff8e65e616513f64f52057..a8cec7de3b074614b5a2f4add19b3b3c944d3df8 100644 (file)
@@ -1,9 +1,12 @@
 #
 # the export the user file to ascii command
 #
-# $Id$
+#
 #
 my $self = shift;
-return (1, $self->msg('e5')) unless $self->priv >= 9;
 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));