Skip to content
This repository was archived by the owner on Jan 9, 2020. It is now read-only.

Commit fc17a96

Browse files
authored
Merge pull request #20 from vishvananda/typos
Fixing some help typos
2 parents 9964a28 + 6e22e3e commit fc17a96

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/main.rs

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -228,18 +228,19 @@ fn run() -> Result<()> {
228228
.validator(id_validator)
229229
.help("Unique identifier");
230230
let bundle_arg = Arg::with_name("bundle")
231-
.default_value(".")
232231
.required(true)
232+
.default_value(".")
233233
.long("bundle")
234-
.short("b");
234+
.short("b")
235+
.help("Directory containing config.json");
235236
let pid_arg = Arg::with_name("p")
236-
.help("Additional location to write pid")
237+
.takes_value(true)
237238
.long("pid-file")
238239
.short("p")
239-
.takes_value(true);
240+
.help("Additional location to write pid");
240241

241242
let matches = App::new("Railcar")
242-
.about("Railcar - run conatiner from oci runtime spec")
243+
.about("Railcar - run a container from an oci-runtime spec file")
243244
.setting(AppSettings::ColoredHelp)
244245
.author(crate_authors!("\n"))
245246
.setting(AppSettings::SubcommandRequired)
@@ -304,7 +305,7 @@ fn run() -> Result<()> {
304305
.arg(&pid_arg)
305306
.arg(
306307
Arg::with_name("c")
307-
.help("console to use")
308+
.help("Console to use")
308309
.long("console")
309310
.short("c")
310311
.takes_value(true),

0 commit comments

Comments
 (0)