Skip to content

Commit

Permalink
Fix extra whitespace at beginning of line in CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
ekzhang committed Dec 30, 2024
1 parent df42c0a commit 8936546
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions crates/sshx/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ fn print_greeting(shell: &str, controller: &Controller) {
if let Some(write_url) = controller.write_url() {
println!(
r#"
{sshx} {version}
{sshx} {version}
{arr} Read-only link: {link_v}
{arr} Writable link: {link_e}
{arr} Shell: {shell_v}
{arr} Read-only link: {link_v}
{arr} Writable link: {link_e}
{arr} Shell: {shell_v}
"#,
sshx = Green.bold().paint("sshx"),
version = Green.paint(&version_str),
Expand All @@ -57,10 +57,10 @@ fn print_greeting(shell: &str, controller: &Controller) {
} else {
println!(
r#"
{sshx} {version}
{sshx} {version}
{arr} Link: {link_v}
{arr} Shell: {shell_v}
{arr} Link: {link_v}
{arr} Shell: {shell_v}
"#,
sshx = Green.bold().paint("sshx"),
version = Green.paint(&version_str),
Expand Down

0 comments on commit 8936546

Please sign in to comment.