mirror of
https://github.com/Cantera/cantera.git
synced 2025-02-25 18:55:29 -06:00
Deprecate --id option
This commit is contained in:
parent
16d387e977
commit
378ff71c1c
@ -2216,8 +2216,9 @@ def main(argv):
|
||||
|
||||
if '--id' in options:
|
||||
phase_name = options.get('--id', 'gas')
|
||||
logger.warning("\nFutureWarning: "
|
||||
"Option '--id=...' will be replaced by '--name=...'")
|
||||
logger.warning("\nDeprecationWarning: "
|
||||
"Option '--id=...' is replaced by '--name=...' and will be "
|
||||
"removed after Cantera 3.0.\n")
|
||||
else:
|
||||
phase_name = options.get('--name', 'gas')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user