Skip to content

Commit

Permalink
fix README --help, normalize import
Browse files Browse the repository at this point in the history
Signed-off-by: William Woodruff <[email protected]>
  • Loading branch information
woodruffw committed Nov 20, 2024
1 parent 3aae6fd commit 27428b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ Top-level:

<!-- @begin-abi3audit-help@ -->
```console
usage: abi3audit [-h] [--debug] [-v] [-R] [-o OUTPUT] [-s] [-S]
usage: abi3audit [-h] [-V] [--debug] [-v] [-R] [-o OUTPUT] [-s] [-S]
[--assume-minimum-abi3 ASSUME_MINIMUM_ABI3]
SPEC [SPEC ...]

Expand All @@ -99,6 +99,7 @@ positional arguments:

options:
-h, --help show this help message and exit
-V, --version show program's version number and exit
--debug emit debug statements; this setting also overrides
`ABI3AUDIT_LOGLEVEL` and is equivalent to setting it
to `debug`
Expand Down
3 changes: 1 addition & 2 deletions abi3audit/_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
from rich import traceback
from rich.logging import RichHandler

from abi3audit import __version__
from abi3audit._audit import AuditError, AuditResult, audit
from abi3audit._extract import (
Extractor,
Expand All @@ -29,8 +30,6 @@
from abi3audit._object import SharedObject
from abi3audit._state import console, status

from . import __version__

logger = logging.getLogger(__name__)
logging.basicConfig(
level=os.environ.get("ABI3AUDIT_LOGLEVEL", "INFO").upper(),
Expand Down

0 comments on commit 27428b7

Please sign in to comment.