File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1717# License along with C-PAC. If not, see <https://www.gnu.org/licenses/>.
1818"""Inspect inputs and outputs for NodeBlockFunctions."""
1919
20- from argparse import ArgumentParser , Namespace
20+ from argparse import ArgumentDefaultsHelpFormatter , ArgumentParser , Namespace
2121import ast
2222from dataclasses import dataclass , field
2323import importlib
@@ -186,7 +186,8 @@ def as_dict(self) -> dict[str, list[str]]:
186186def cli_parser () -> Namespace :
187187 """Parse command line argument."""
188188 parser = ArgumentParser (
189- description = "Inventory resources for C-PAC NodeBlockFunctions."
189+ description = "Inventory resources for C-PAC NodeBlockFunctions." ,
190+ formatter_class = ArgumentDefaultsHelpFormatter ,
190191 )
191192 parser .add_argument (
192193 "-o" ,
You can’t perform that action at this time.
0 commit comments