Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade wording consistency #20

Merged
merged 2 commits into from
Jul 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how
Security -- in case of vulnerabilities.
-->

## [0.16.2]

### Changed
- Renamed update to upgrade for firmware upgrade in CLI arguments (TSP-741)

## [0.16.1]

### Changed
Expand Down Expand Up @@ -104,7 +109,8 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how
- Feature to retrieve TSP-Link network details

<!--Version Comparison Links-->
[Unreleased]: https://github.com/tektronix/tsp-toolkit-kic-cli/compare/v0.16.1...HEAD
[Unreleased]: https://github.com/tektronix/tsp-toolkit-kic-cli/compare/v0.16.2...HEAD
[0.16.2]: https://github.com/tektronix/tsp-toolkit-kic-cli/releases/tag/v0.16.1
[0.16.1]: https://github.com/tektronix/tsp-toolkit-kic-cli/releases/tag/v0.16.1
[0.16.0]: https://github.com/tektronix/tsp-toolkit-kic-cli/releases/tag/v0.16.0
[0.15.3]: https://github.com/tektronix/tsp-toolkit-kic-cli/releases/tag/v0.15.3
Expand Down
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ members = [
resolver = "2"

[workspace.package]
version = "0.16.1"
version = "0.16.2"
authors = ["Keithley Instruments, LLC"]
edition = "2021"
repository = "https://github.com/tektronix/tsp-toolkit-kic-cli"
Expand Down
8 changes: 4 additions & 4 deletions kic/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ fn cmds() -> Command {
])
})
.subcommand({
let cmd = Command::new("update")
let cmd = Command::new("upgrade")
.about("Upgrade the firmware of an instrument or module.");

add_connection_subcommands(cmd, [
Expand Down Expand Up @@ -212,8 +212,8 @@ fn main() -> anyhow::Result<()> {
Some(("connect", sub_matches)) => {
return connect(sub_matches);
}
Some(("update", sub_matches)) => {
return update(sub_matches);
Some(("upgrade", sub_matches)) => {
return upgrade(sub_matches);
}
Some(("terminate", sub_matches)) => {
return terminate(sub_matches);
Expand Down Expand Up @@ -362,7 +362,7 @@ fn connect(args: &ArgMatches) -> anyhow::Result<()> {
Ok(repl.start()?)
}

fn update(args: &ArgMatches) -> anyhow::Result<()> {
fn upgrade(args: &ArgMatches) -> anyhow::Result<()> {
eprintln!("\nKeithley TSP Shell\n");
let lan = ConnectionType::try_from_arg_matches(args)?;
let Some((_, args)) = args.subcommand() else {
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tektronix/kic-cli",
"version": "0.16.1",
"version": "0.16.2",
"main": "index.js",
"bin": {
"windows-kic": "./bin/kic.exe",
Expand Down
Loading