Skip to content

Commit

Permalink
fix(cli): change template default value to connect to the host's name…
Browse files Browse the repository at this point in the history
…, not the hostname

Closes #74

Signed-off-by: Nathanael DEMACON <[email protected]>
  • Loading branch information
quantumsheep committed Feb 28, 2024
1 parent 3cdf965 commit 2691a87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ struct Args {
#[arg(
short,
long,
default_value = "ssh {{#if user}}{{user}}@{{/if}}{{destination}}{{#if port}} -p {{port}}{{/if}}"
default_value = "ssh \"{{{name}}}\"{{#if port}} -p {{port}}{{/if}}"
)]
template: String,

Expand Down

0 comments on commit 2691a87

Please sign in to comment.