Skip to content

Commit

Permalink
Change --debug option to appear in CLI help output
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathonReinhart committed Nov 26, 2021
1 parent ec3e402 commit 43a2daf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]
### Changed
- Change --debug option to appear in CLI help output

## [0.13.5] - 2021-10-26
### Fixed
- Handle variables in `DT_NEEDED` tags as seen in `ldd` output on RaspPI OS ([#210])
Expand Down
4 changes: 1 addition & 3 deletions staticx/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@ def parse_args():
ap.add_argument('--loglevel', choices=['DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL'],
help = 'Set the logging level (default: {})'.format(DEFAULT_LOGLEVEL))

# Hidden arguments (for development / testing)
ap.add_argument('--debug', action='store_true',
help = argparse.SUPPRESS)
ap.add_argument('--debug', action='store_true')

args = ap.parse_args()

Expand Down

0 comments on commit 43a2daf

Please sign in to comment.