diff --git a/icons/logo_new.png b/icons/logo_new.png new file mode 100644 index 0000000..ab148bc Binary files /dev/null and b/icons/logo_new.png differ diff --git a/ostp-client/src/sysproxy.rs b/ostp-client/src/sysproxy.rs index 2573e4c..89c801c 100644 --- a/ostp-client/src/sysproxy.rs +++ b/ostp-client/src/sysproxy.rs @@ -235,7 +235,7 @@ pub fn enable_system_proxy(proxy_addr: &str) { println!("OSTP Local Proxy is running at socks5://{}", proxy_addr); println!("Since you are in a headless/terminal environment, OSTP cannot automatically"); println!("configure your system proxy. To route traffic from this terminal, run:"); - println!("\n eval $(ostp --proxy-env)\n"); + println!("\n eval $(ostp proxy-env)\n"); println!("Or configure your application (e.g. curl -x socks5://{})", proxy_addr); println!("===================================================================\n"); } diff --git a/ostp/src/main.rs b/ostp/src/main.rs index 85df0cb..3260294 100644 --- a/ostp/src/main.rs +++ b/ostp/src/main.rs @@ -609,8 +609,8 @@ fn run_setup_wizard(config_path: &std::path::Path) -> Result<()> { &format!("TUN mode: {}", if tun_enable { "enabled" } else { "disabled" }), "", "To start: ostp", - "To check: ostp --check", - "Proxy env: eval $(ostp --proxy-env)", + "To check: ostp check", + "Proxy env: eval $(ostp proxy-env)", ]); } @@ -682,8 +682,8 @@ fn run_setup_wizard(config_path: &std::path::Path) -> Result<()> { &format!("Keys: {}", key_count), "", "To start: ostp", - "To check: ostp --check", - "Share links: ostp --links", + "To check: ostp check", + "Share links: ostp links", ]); } @@ -1263,9 +1263,9 @@ async fn run_app() -> Result<()> { anyhow::bail!( "Configuration file {:?} not found.\n\n\ To generate a default configuration template, run:\n\ - \t./ostp --init server\n\ + \t./ostp init server\n\ \tor\n\ - \t./ostp --init client\n\n\ + \t./ostp init client\n\n\ Or specify a custom configuration file path using:\n\ \t./ostp --config /path/to/your_config.json", args.config