diff options
author | Dan Schatzberg <dschatzberg@fb.com> | 2022-03-11 07:36:48 -0800 |
---|---|---|
committer | Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com> | 2022-03-11 07:36:48 -0800 |
commit | 8b97d13c048a0a08e462844420d89fd2210e5c51 (patch) | |
tree | 374fcb65acbd099b6b737261294a6e24734e9cb5 | |
parent | 5aaed6d1cdc88c651d06f4c8dcf40ded2284328d (diff) |
Make snapshot command take host by flag
Summary:
This makes the behavior consistent with other commands where
host is passed as a flag (--host) rather than a freestanding argument.
Reviewed By: boyuni
Differential Revision: D34820055
fbshipit-source-id: 23211990391f0507637a6f0a973cc8ddec9e27ed
-rw-r--r-- | below/src/main.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/below/src/main.rs b/below/src/main.rs index 9c047da1..4f4a0d60 100644 --- a/below/src/main.rs +++ b/below/src/main.rs @@ -239,6 +239,7 @@ enum Command { #[structopt(short, long, verbatim_doc_comment)] end: String, /// Supply hostname to take snapshot from remote + #[structopt(long)] host: Option<String>, #[structopt(long)] /// Override default port to connect to remote |