@@ -131,7 +131,7 @@ class TClientCommandSchemaExec : public TClientCommandBase {
131131 virtual void Config (TConfig& config) override {
132132 TClientCommand::Config (config);
133133 ReturnTxId = false ;
134- config.Opts ->AddLongOption (' t' , " txid" , " Print TxId" ).NoArgument (). SetFlag (&ReturnTxId);
134+ config.Opts ->AddLongOption (' t' , " txid" , " Print TxId" ).StoreTrue (&ReturnTxId);
135135 config.SetFreeArgsNum (1 );
136136 SetFreeArgTitle (0 , " <SCHEMA-PROTO>" , " Schema protobuf or file with schema protobuf" );
137137 }
@@ -205,14 +205,14 @@ class TClientCommandSchemaDescribe : public TClientCommand {
205205 Boundaries = false ;
206206 config.SetFreeArgsNum (1 );
207207 SetFreeArgTitle (0 , " <PATH>" , " Schema path or pathId (e.g. 72075186232623600/1225)" );
208- config.Opts ->AddLongOption (' t' , " tree" , " Show schema path tree" ).NoArgument (). SetFlag (&Tree);
209- config.Opts ->AddLongOption (' d' , " details" , " Show detailed information (like columns in a table)" ).NoArgument (). SetFlag (&Details);
210- config.Opts ->AddLongOption (' a' , " acl" , " Show owner and acl information" ).NoArgument (). SetFlag (&AccessRights);
211- config.Opts ->AddLongOption (' e' , " effacl" , " Show effective acl information" ).NoArgument (). SetFlag (&AccessRightsEffective);
212- config.Opts ->AddLongOption (' b' , " backup" , " Show backup information" ).NoArgument (). SetFlag (&BackupInfo);
213- config.Opts ->AddLongOption (' P' , " protobuf" , " Debug print all info as is" ).NoArgument (). SetFlag (&Protobuf);
214- config.Opts ->AddLongOption (' s' , " stats" , " Return partition stats" ).NoArgument (). SetFlag (&PartitionStats);
215- config.Opts ->AddLongOption (" boundaries" , " Return boundaries" ).NoArgument (). SetFlag (&Boundaries);
208+ config.Opts ->AddLongOption (' t' , " tree" , " Show schema path tree" ).StoreTrue (&Tree);
209+ config.Opts ->AddLongOption (' d' , " details" , " Show detailed information (like columns in a table)" ).StoreTrue (&Details);
210+ config.Opts ->AddLongOption (' a' , " acl" , " Show owner and acl information" ).StoreTrue (&AccessRights);
211+ config.Opts ->AddLongOption (' e' , " effacl" , " Show effective acl information" ).StoreTrue (&AccessRightsEffective);
212+ config.Opts ->AddLongOption (' b' , " backup" , " Show backup information" ).StoreTrue (&BackupInfo);
213+ config.Opts ->AddLongOption (' P' , " protobuf" , " Debug print all info as is" ).StoreTrue (&Protobuf);
214+ config.Opts ->AddLongOption (' s' , " stats" , " Return partition stats" ).StoreTrue (&PartitionStats);
215+ config.Opts ->AddLongOption (" boundaries" , " Return boundaries" ).StoreTrue (&Boundaries);
216216 }
217217
218218 virtual void Parse (TConfig& config) override {
@@ -581,8 +581,8 @@ class TClientCommandSchemaChown : public TClientCommand {
581581 SetFreeArgTitle (0 , " <USER>" , " User" );
582582 SetFreeArgTitle (1 , " <PATH>" , " Full pathname of an object (e.g. /ru/home/user/mydb/test1/test2).\n "
583583 " Or short pathname if profile path is set (e.g. test1/test2)." );
584- config.Opts ->AddLongOption (' R' , " recursive" , " Change owner on schema objects recursively" ).NoArgument (). SetFlag (&Recursive);
585- config.Opts ->AddLongOption (' v' , " verbose" , " Verbose output" ).NoArgument (). SetFlag (&Verbose);
584+ config.Opts ->AddLongOption (' R' , " recursive" , " Change owner on schema objects recursively" ).StoreTrue (&Recursive);
585+ config.Opts ->AddLongOption (' v' , " verbose" , " Verbose output" ).StoreTrue (&Verbose);
586586 }
587587
588588 TString Owner;
@@ -1318,7 +1318,7 @@ class TClientCommandDbExec : public TClientCommandBase {
13181318 config.SetFreeArgsNum (1 , 2 );
13191319 SetFreeArgTitle (0 , " <MINIKQL>" , " Text MiniKQL" );
13201320 SetFreeArgTitle (1 , " <PARAMS>" , " Text MiniKQL parameters" );
1321- config.Opts ->AddLongOption (' p' , " proto" , " MiniKQL parameters are in protobuf format" ).NoArgument (). SetFlag (&Proto);
1321+ config.Opts ->AddLongOption (' p' , " proto" , " MiniKQL parameters are in protobuf format" ).StoreTrue (&Proto);
13221322 }
13231323
13241324 virtual void Parse (TConfig& config) override {
0 commit comments