# *********************************************************************
# renamecol.txt: help text
# Copyright (c) 2001,2006 Carlo Strozzi
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 dated June, 1991.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
# *********************************************************************
# $Id: renamecol.txt,v 1.2 2006/03/10 11:26:13 carlo Exp $

                      NoSQL operator: renamecol

Rename a table column.

Usage: renamecol [options] oldname1,newname1 [oldname2,newname2 ...]

Options:
    --first-only (-f)
      Only rename the first occurence of 'oldname'

    --input (-i) 'file'
      Read input from 'file' instead of STDIN.

    --output (-o) 'file'
      Write output to 'file' instead of STDOUT.

    --help (-h)
      Display this help text.

Notes:

Renames the specified columns. If no 'oldname,newname' pairs
are specified the input table is printed to STDOUT unchanged.

