Skip to content

Commit aa2bc5c

Browse files
committed
Release v1.1.0
1 parent 6653778 commit aa2bc5c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
## Unreleased
1+
## v1.1.0 (2022-01-18)
22

3+
* Added version to executable properties.
34
* Added `--log-dir`.
45
(Contributed by [oscarbailey-tc](https://github.com/mtkennerly/shawl/pull/19))
5-
* Added version to executable properties.
66
* Added `--env`.
77
* Added `--path`.
88
* When a custom `--cwd` is set, it is now automatically added to the command's

src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,14 @@ struct CommonOpts {
6060
no_log_cmd: bool,
6161

6262
/// Write log file to a custom directory. This directory will be created if it doesn't exist.
63-
#[structopt(long, parse(try_from_str = parse_ensured_directory))]
63+
#[structopt(long, value_name = "path", parse(try_from_str = parse_ensured_directory))]
6464
log_dir: Option<String>,
6565

6666
/// Append the service start arguments to the command
6767
#[structopt(long)]
6868
pass_start_args: bool,
6969

70-
/// Additional environment variable (repeatable)
70+
/// Additional environment variable in the format 'KEY=value' (repeatable)
7171
#[structopt(long, number_of_values = 1, parse(try_from_str = parse_env_var))]
7272
env: Vec<(String, String)>,
7373

0 commit comments

Comments
 (0)