add support for filename on tabdump

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9571 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2011-05-11 17:55:31 +00:00
parent 494e5f38f3
commit 8d17e7e2b6

View File

@ -8,8 +8,12 @@ B<tabdump> [I<-d>] [I<table>]
B<tabdump> [I<table>]
B<tabdump> [I<-f> I<filename>] [I<table>]
B<tabdump> [I<-w> I<attr>==I<val>] [B<-w> I<attr>=~I<val>] ...] [I<table>]
B<tabdump> [I<-w> I<attr>==I<val>] [B<-w> I<attr>=~I<val>] ...] [I<-f> I<filename>] [I<table>]
B<tabdump> [I<-v> | I<--version>]
B<tabdump> [I<-?> | I<-h> | I<--help>]
@ -50,6 +54,11 @@ Operator descriptions:
!~ Select nodes where the attribute value matches the SQL NOT LIKE value.
=item B<-f>
File name or path to file in which to dump the table. Without this the table is dumped
to stdout. Using the -f flag allows the table to be dumped one record at a time. If tables are very large, dumping to stdout can cause problems such as running out of memory.
=back
=head1 RETURN VALUE