Skip to content

Commit c18766a

Browse files
authored
Slightly friendlier upgrade argument description (#446)
* Slightly friendlier upgrade argument description * Added right format examples
1 parent f1e61b1 commit c18766a

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

clients/native/src/commands/upgrade.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ pub fn command_args<'a, 'b>() -> App<'a, 'b> {
124124
// the rest of arguments depend on the upgrade path
125125
.arg(Arg::with_name("current version")
126126
.long("current-version")
127-
.help("REQUIRED FOR PRE-0.9.0 UPGRADES. Self provided version of the nym-client if none is available in the config. NOTE: if provided incorrectly, results may be catastrophic.")
127+
.help("REQUIRED FOR PRE-0.9.0 UPGRADES. Specifies current version of the configuration file to help to determine a valid upgrade path. Valid formats include '0.8.1', 'v0.8.1' or 'V0.8.1'")
128128
.takes_value(true)
129129
)
130130
}

clients/socks5/src/commands/upgrade.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ pub fn command_args<'a, 'b>() -> App<'a, 'b> {
124124
// the rest of arguments depend on the upgrade path
125125
.arg(Arg::with_name("current version")
126126
.long("current-version")
127-
.help("REQUIRED FOR PRE-0.9.0 UPGRADES. Self provided version of the nym-socks5-client if none is available in the config. NOTE: if provided incorrectly, results may be catastrophic.")
127+
.help("REQUIRED FOR PRE-0.9.0 UPGRADES. Specifies current version of the configuration file to help to determine a valid upgrade path. Valid formats include '0.8.1', 'v0.8.1' or 'V0.8.1'")
128128
.takes_value(true)
129129
)
130130
}

gateway/src/commands/upgrade.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ pub fn command_args<'a, 'b>() -> App<'a, 'b> {
125125
// the rest of arguments depend on the upgrade path
126126
.arg(Arg::with_name("current version")
127127
.long("current-version")
128-
.help("REQUIRED FOR PRE-0.9.0 UPGRADES. Self provided version of the nym-gateway if none is available in the config. NOTE: if provided incorrectly, results may be catastrophic.")
128+
.help("REQUIRED FOR PRE-0.9.0 UPGRADES. Specifies current version of the configuration file to help to determine a valid upgrade path. Valid formats include '0.8.1', 'v0.8.1' or 'V0.8.1'")
129129
.takes_value(true)
130130
)
131131
.arg(Arg::with_name("incentives address")

mixnode/src/commands/upgrade.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ pub fn command_args<'a, 'b>() -> App<'a, 'b> {
161161
// the rest of arguments depend on the upgrade path
162162
.arg(Arg::with_name("current version")
163163
.long("current-version")
164-
.help("REQUIRED FOR PRE-0.9.0 UPGRADES. Self provided version of the nym-mixnode if none is available in the config. NOTE: if provided incorrectly, results may be catastrophic.")
164+
.help("REQUIRED FOR PRE-0.9.0 UPGRADES. Specifies current version of the configuration file to help to determine a valid upgrade path. Valid formats include '0.8.1', 'v0.8.1' or 'V0.8.1'")
165165
.takes_value(true)
166166
)
167167
.arg(Arg::with_name("incentives address")

0 commit comments

Comments
 (0)