Skip to content

Commit e6c0af9

Browse files
committed
suppressing help output for unknown args now
1 parent 3441a1e commit e6c0af9

3 files changed

Lines changed: 8 additions & 2 deletions

File tree

CHANGES.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
Changelog
22
=========
33

4+
0.0.8 (2023-11-10)
5+
------------------
6+
7+
- suppressing help output for unknown args now
8+
9+
410
0.0.7 (2023-11-09)
511
------------------
612

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def _read(f):
3030
'': 'src'
3131
},
3232
packages=find_namespace_packages(where='src'),
33-
version="0.0.7",
33+
version="0.0.8",
3434
author='Peter Reutemann',
3535
author_email='fracpete@waikato.ac.nz',
3636
)

src/seppl/_plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def _create_argparser(self) -> argparse.ArgumentParser:
4141
description=self.description(),
4242
prog=self.name(),
4343
formatter_class=argparse.ArgumentDefaultsHelpFormatter)
44-
parser.add_argument(UNKNOWN_ARGS, nargs=argparse.REMAINDER)
44+
parser.add_argument(UNKNOWN_ARGS, nargs=argparse.REMAINDER, help=argparse.SUPPRESS)
4545
return parser
4646

4747
def _apply_args(self, ns: argparse.Namespace):

0 commit comments

Comments
 (0)