Skip to content

Commit 1a3e3a7

Browse files
authored
refactor(hermes): match mapping address argument style with the rest (#1498)
1 parent 4b8b9bf commit 1a3e3a7

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

apps/hermes/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/hermes/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "hermes"
3-
version = "0.5.7"
3+
version = "0.5.8"
44
description = "Hermes is an agent that provides Verified Prices from the Pythnet Pyth Oracle."
55
edition = "2021"
66

apps/hermes/src/config/pythnet.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ pub struct Options {
1919
#[arg(env = "PYTHNET_HTTP_ADDR")]
2020
pub http_addr: String,
2121

22-
/// Pyth mapping account address.
23-
#[arg(long = "mapping-address")]
22+
/// Pyth mapping account address on Pythnet.
23+
#[arg(long = "pythnet-mapping-addr")]
2424
#[arg(default_value = DEFAULT_PYTHNET_MAPPING_ADDR)]
25-
#[arg(env = "PYTHNET_MAPPING_ADDRESS")]
25+
#[arg(env = "PYTHNET_MAPPING_ADDR")]
2626
pub mapping_addr: Pubkey,
2727
}

0 commit comments

Comments
 (0)