openmc
openmc copied to clipboard
Add short arguments for `openmc config` options
This PR introduces short command-line arguments for the openmc config subcommand, enhancing usability and convenience.
The following short arguments have been added:
-
-pfor--prefix -
-ifor--include-dir -
-lfor--lib-dir -
-cfor--cmake-dir -
-Lfor--libs -
-efor--extra-libs -
-dfor--extra-lib-dir
These changes were implemented by modifying src/config.cpp to update the print_config_usage function and the argument parsing logic within openmc_config_main.
This PR depends on PR #3339