Skip to content

Commit

Permalink
update changelog and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
not-a-feature committed Jul 12, 2024
1 parent caa380b commit c3b456d
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 2 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
# Changelog

## Version 2.0.0
- Improve properties reading using `nvme id-ctrl` instead of relying on `nvme fw-log`
- Rewrite using a properties object.
- Add -i flag to print information about the available drives.

**Full Changelog**: [v1.2.2...v2.0.0](https://github.com/not-a-feature/wd_fw_update/compare/v1.2.2...v2.0.0)

## Version 1.2.2
- Fix download url.
- Add http status code test.
Expand Down
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,24 @@ Depending on the update mode, it may prompt you to reboot or switch to the new s
## Command-Line Options

--version: Display the version of the firmware update tool.
-i, --info: Display information about the available drives.
-v, --verbose: Set the log level to INFO.
-vv, --very-verbose: Set the log level to DEBUG.

<!-- pyscaffold-notes -->
The -i flag will display about the available drives.

Example:

```
========== Device Info ==========
Device : /dev/nvme0n1
Model : WD_BLACK SN770 500GB
Current fw version : 731120WD
Slot 1 readonly : False
Slot count : 2
Current slot : 2
Slots with firmware : {1: '731030WD', 2: '731120WD'}
```

## Note

Expand Down
2 changes: 1 addition & 1 deletion src/wd_fw_update/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def parse_args(args):
"-i",
"--info",
action="store_true",
help="Print information about the current ssd, firmware and more.",
help="Print information about available drives.",
)

# parser.add_argument(
Expand Down

0 comments on commit c3b456d

Please sign in to comment.