Skip to content

Commit

Permalink
Add SSHX_SERVER variable for --server option (#40)
Browse files Browse the repository at this point in the history
Closes #22
  • Loading branch information
ekzhang authored Nov 8, 2023
1 parent da0b4ac commit e01b75a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/sshx/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use tracing::error;
#[clap(author, version, about, long_about = None)]
struct Args {
/// Address of the remote sshx server.
#[clap(long, default_value = "https://sshx.io")]
#[clap(long, default_value = "https://sshx.io", env = "SSHX_SERVER")]
server: String,

/// Local shell command to run in the terminal.
Expand Down

0 comments on commit e01b75a

Please sign in to comment.