Conceal wait settings behind config check
This commit is contained in:
parent
36bd98f3df
commit
e225b4e333
@ -71,7 +71,7 @@ class ArgFlag(BaseArgFlag):
|
||||
self.alias('sign', 'key_file', 'send')
|
||||
self.alias('std_base', 'verbose', 'config', 'raw', 'env', 'target')
|
||||
self.alias('std_base_read', 'verbose', 'config', 'raw', 'env', 'provider', 'chain_spec', 'seq')
|
||||
self.alias('std_read', 'std_base', 'provider', 'chain_spec', 'unsafe', 'seq', 'key_file', 'fee', 'target')
|
||||
self.alias('std_read', 'std_base', 'provider', 'chain_spec', 'unsafe', 'seq', 'sign', 'fee', 'target')
|
||||
self.alias('std_write', 'verbose', 'config', 'raw', 'env', 'provider', 'chain_spec', 'unsafe', 'seq', 'key_file', 'sign', 'target', 'wait', 'wait_all', 'send', 'rpc_auth', 'nonce', 'fee')
|
||||
self.alias('std_target', 'no_target', 'exec', 'wallet')
|
||||
|
||||
|
@ -107,6 +107,7 @@ def process_config(config, arg, args, flags):
|
||||
if arg.match('nonce', flags):
|
||||
config.add(getattr(args, 'nonce'), '_NONCE')
|
||||
|
||||
if arg.match('wait', flags):
|
||||
if args.ww:
|
||||
config.add(True, '_WAIT_ALL')
|
||||
config.add(True, '_WAIT')
|
||||
|
Loading…
Reference in New Issue
Block a user