aboutsummaryrefslogtreecommitdiff
path: root/src/cli.rs
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-05-05 11:08:51 +0000
committerFuwn <[email protected]>2021-05-05 11:08:51 +0000
commit2ef2fc8a528cb7953bc599588f09a5ad7ac62d2c (patch)
tree06a98fc1af4514c58ff14d634c1a89ec1e415be7 /src/cli.rs
parentfeat(redirect_id): specify custom ip in config (diff)
downloadwhirl-2ef2fc8a528cb7953bc599588f09a5ad7ac62d2c.tar.xz
whirl-2ef2fc8a528cb7953bc599588f09a5ad7ac62d2c.zip
feat(global): add a shell-like prompt for interfacing with the server during operation
Diffstat (limited to 'src/cli.rs')
-rw-r--r--src/cli.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli.rs b/src/cli.rs
index d52d7d5..8fab8c2 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -18,7 +18,7 @@ impl Cli {
pub async fn execute(matches: ArgMatches<'_>) {
if matches.is_present("run") {
- run().await.unwrap();
+ run().await;
} else if let Some(cmd) = matches.subcommand_matches("config") {
if cmd.is_present("show") {
println!("{:#?}", Config::get().unwrap());