mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-12 08:10:12 +00:00
Man and usage updates for chtab and tabch commands
This commit is contained in:
@ -23,11 +23,11 @@ SYNOPSIS
|
||||
|
||||
\ **chtab**\ [\ **-v**\ | \ **-**\ **-version**\ ]
|
||||
|
||||
\ **chtab**\ [\ *keycolname=keyvalue*\ ] [\ *tablename.colname=newvalue*\ ]
|
||||
\ **chtab**\ \ *keycolname=keyvalue*\ [,\ *keycolname=keyvalue*\ ,...] \ *tablename.colname=newvalue*\ [\ *tablename.colname=newvalue*\ ...]
|
||||
|
||||
\ **chtab**\ [\ *keycolname=keyvalue*\ ] [\ *tablename.colname+=newvalue*\ ]
|
||||
\ **chtab**\ \ *keycolname=keyvalue*\ [,\ *keycolname=keyvalue*\ ,...] \ *tablename.colname+=newvalue*\ [\ *tablename.colname+=newvalue*\ ...]
|
||||
|
||||
\ **chtab -d**\ [\ *keycolname=keyvalue*\ ] [\ *tablename.colname=newvalue*\ ]
|
||||
\ **chtab -d**\ \ *keycolname=keyvalue*\ [,\ *keycolname=keyvalue*\ ,...] \ *tablename*\ [\ *tabname*\ ...]
|
||||
|
||||
|
||||
***********
|
||||
@ -35,9 +35,9 @@ DESCRIPTION
|
||||
***********
|
||||
|
||||
|
||||
The chtab command adds, deletes or updates the attribute value in the specified table.column for the specified keyvalue. Normally, the given value will completely replace the current attribute value. But if "+=" is used instead of "=", the specified value will be appended to the coma separated list of the attribute, if it is not already there.
|
||||
The \ **chtab**\ command adds, deletes or updates the attribute values in the specified table.column for the specified \ *keyvalue*\ . Normally, the given value will completely replace the current attribute value. But if "+=" is used instead of "=", the specified value will be appended to the comma separated list of attributes, if it is not already there.
|
||||
|
||||
The chtab is designed to work without passing xcatd, so it's out of control of policy mechanism.
|
||||
The \ **chtab**\ does not pass through xcatd, so it is not controlled by the policy mechanism.
|
||||
|
||||
|
||||
*******
|
||||
|
@ -23,11 +23,11 @@ SYNOPSIS
|
||||
|
||||
\ **tabch**\ [\ **-v**\ | \ **-**\ **-version**\ ]
|
||||
|
||||
\ **tabch**\ [\ *keycolname=keyvalue*\ ] [\ *tablename.colname=newvalue*\ ]
|
||||
\ **tabch**\ \ *keycolname=keyvalue*\ [,\ *keycolname=keyvalue*\ ,...] \ *tablename.colname=newvalue*\ [\ *tablename.colname=newvalue*\ ...]
|
||||
|
||||
\ **tabch**\ [\ *keycolname=keyvalue*\ ] [\ *tablename.colname+=newvalue*\ ]
|
||||
\ **tabch**\ \ *keycolname=keyvalue*\ [,\ *keycolname=keyvalue*\ ,...] \ *tablename.colname+=newvalue*\ [\ *tablename.colname+=newvalue*\ ...]
|
||||
|
||||
\ **tabch -d**\ [\ *keycolname=keyvalue*\ ] [\ *tablename.colname=newvalue*\ ]
|
||||
\ **tabch -d**\ \ *keycolname=keyvalue*\ [,\ *keycolname=keyvalue*\ ,...] \ *tablename*\ [\ *tablename*\ ...]
|
||||
|
||||
|
||||
***********
|
||||
@ -35,7 +35,7 @@ DESCRIPTION
|
||||
***********
|
||||
|
||||
|
||||
The tabch command adds, deletes or updates the attribute value in the specified table.column for the specified keyvalue. The difference between tabch and chtab is tabch runs as a plugin under the xcatd daemon. This give the additional security of being authorized by the daemon. Normally, the given value will completely replace the current attribute value. But if "+=" is used instead of "=", the specified value will be appended to the coma separated list of the attribute, if it is not already there.
|
||||
The \ **tabch**\ command adds, deletes or updates the attribute values in the specified table.column for the specified keyvalue. The difference between \ **tabch**\ and \ **chtab**\ is \ **tabch**\ runs as a plugin under the xcatd daemon. This give the additional security of being authorized by the daemon. Normally, the given value will completely replace the current attribute value. But if "+=" is used instead of "=", the specified value will be appended to the comma separated list of attributes, if it is not already there.
|
||||
|
||||
|
||||
*******
|
||||
|
@ -8,17 +8,17 @@ B<chtab> [B<-h> | B<--help>]
|
||||
|
||||
B<chtab> [B<-v> | B<--version>]
|
||||
|
||||
B<chtab> [I<keycolname=keyvalue>] [I<tablename.colname=newvalue>]
|
||||
B<chtab> I<keycolname=keyvalue>[,I<keycolname=keyvalue>,...] I<tablename.colname=newvalue> [I<tablename.colname=newvalue> ...]
|
||||
|
||||
B<chtab> [I<keycolname=keyvalue>] [I<tablename.colname+=newvalue>]
|
||||
B<chtab> I<keycolname=keyvalue>[,I<keycolname=keyvalue>,...] I<tablename.colname+=newvalue> [I<tablename.colname+=newvalue> ...]
|
||||
|
||||
B<chtab -d> [I<keycolname=keyvalue>] [I<tablename.colname=newvalue>]
|
||||
B<chtab -d> I<keycolname=keyvalue>[,I<keycolname=keyvalue>,...] I<tablename> [I<tabname> ...]
|
||||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
The chtab command adds, deletes or updates the attribute value in the specified table.column for the specified keyvalue. Normally, the given value will completely replace the current attribute value. But if "+=" is used instead of "=", the specified value will be appended to the coma separated list of the attribute, if it is not already there.
|
||||
The B<chtab> command adds, deletes or updates the attribute values in the specified table.column for the specified I<keyvalue>. Normally, the given value will completely replace the current attribute value. But if "+=" is used instead of "=", the specified value will be appended to the comma separated list of attributes, if it is not already there.
|
||||
|
||||
The chtab is designed to work without passing xcatd, so it's out of control of policy mechanism.
|
||||
The B<chtab> does not pass through xcatd, so it is not controlled by the policy mechanism.
|
||||
|
||||
=head1 OPTIONS
|
||||
|
||||
|
@ -8,15 +8,15 @@ B<tabch> [B<-h> | B<--help>]
|
||||
|
||||
B<tabch> [B<-v> | B<--version>]
|
||||
|
||||
B<tabch> [I<keycolname=keyvalue>] [I<tablename.colname=newvalue>]
|
||||
B<tabch> I<keycolname=keyvalue>[,I<keycolname=keyvalue>,...] I<tablename.colname=newvalue> [I<tablename.colname=newvalue> ...]
|
||||
|
||||
B<tabch> [I<keycolname=keyvalue>] [I<tablename.colname+=newvalue>]
|
||||
B<tabch> I<keycolname=keyvalue>[,I<keycolname=keyvalue>,...] I<tablename.colname+=newvalue> [I<tablename.colname+=newvalue> ...]
|
||||
|
||||
B<tabch -d> [I<keycolname=keyvalue>] [I<tablename.colname=newvalue>]
|
||||
B<tabch -d> I<keycolname=keyvalue>[,I<keycolname=keyvalue>,...] I<tablename> [I<tablename> ...]
|
||||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
The tabch command adds, deletes or updates the attribute value in the specified table.column for the specified keyvalue. The difference between tabch and chtab is tabch runs as a plugin under the xcatd daemon. This give the additional security of being authorized by the daemon. Normally, the given value will completely replace the current attribute value. But if "+=" is used instead of "=", the specified value will be appended to the coma separated list of the attribute, if it is not already there.
|
||||
The B<tabch> command adds, deletes or updates the attribute values in the specified table.column for the specified keyvalue. The difference between B<tabch> and B<chtab> is B<tabch> runs as a plugin under the xcatd daemon. This give the additional security of being authorized by the daemon. Normally, the given value will completely replace the current attribute value. But if "+=" is used instead of "=", the specified value will be appended to the comma separated list of attributes, if it is not already there.
|
||||
|
||||
|
||||
=head1 OPTIONS
|
||||
|
@ -2225,14 +2225,11 @@ sub tabch {
|
||||
my %rsp;
|
||||
push @{ $rsp{data} }, "Usage: tabch";
|
||||
push @{ $rsp{data} }, " To add or update rows for tables:";
|
||||
push @{ $rsp{data} }, " tabch [keycolname=keyvalue[,keycolname=keyvalue...]] [tablename.colname=newvalue] [tablename.colname=newvalue]...";
|
||||
push @{ $rsp{data} }, " tabch keycolname=keyvalue[,keycolname=keyvalue...] tablename.colname=newvalue [tablename.colname=newvalue...]";
|
||||
push @{ $rsp{data} }, " To delete rows from tables:";
|
||||
push @{ $rsp{data} }, " tabch -d|--delete keycolname=keyvalue[,keycolname=keyvalue...] tablename [tablename]...";
|
||||
push @{ $rsp{data} }, " tabch -d|--delete keycolname=keyvalue[,keycolname=keyvalue...] tablename [tablename...]";
|
||||
push @{ $rsp{data} }, " keycolname=keyvalue a column name-and-value pair ";
|
||||
push @{ $rsp{data} }, " that identifies the rows in a table to be changed.";
|
||||
push @{ $rsp{data} }, " a column name-and-value pair that identifies ";
|
||||
push @{ $rsp{data} }, " the rows in a table to be changed.";
|
||||
push @{ $rsp{data} }, " that identifies the rows in a table to be changed.";
|
||||
push @{ $rsp{data} }, " tablename.colname=newvalue ";
|
||||
push @{ $rsp{data} }, " the new value for the specified row and column of the table.";
|
||||
push @{ $rsp{data} }, " tabch [-h|--help]";
|
||||
|
@ -18,9 +18,9 @@ use strict;
|
||||
sub usage {
|
||||
print "Usage:\n";
|
||||
print " To add or update rows for tables:
|
||||
chtab [keycolname=keyvalue[,keycolname=keyvalue...]] [tablename.colname=newvalue] [tablename.colname=newvalue]...\n";
|
||||
chtab keycolname=keyvalue[,keycolname=keyvalue...] tablename.colname=newvalue [tablename.colname=newvalue...]\n";
|
||||
print " To delete rows from tables:
|
||||
chtab -d|--delete keycolname=keyvalue[,keycolname=keyvalue...] tablename [tablename]...\n";
|
||||
chtab -d|--delete keycolname=keyvalue[,keycolname=keyvalue...] tablename [tablename...]\n";
|
||||
print " To display usage and other information:
|
||||
chtab [-h|--help|-v|--Version]\n\n";
|
||||
print " -d|--delete Delete the rows from a list of tables.
|
||||
|
Reference in New Issue
Block a user