mirror of
https://github.com/nestriness/cdc-file-transfer.git
synced 2026-05-02 02:23:07 +03:00
[cdc_stream] Add wildcard support to stop command (#30)
Adds support for stuff like cdc_stream stop * or cdc_stream stop user*:dir*.
This commit is contained in:
@@ -101,7 +101,7 @@ void StartCommand::RegisterCommandLineFlags(lyra::command& cmd) {
|
||||
.help("Windows directory to stream"));
|
||||
|
||||
cmd.add_argument(
|
||||
lyra::arg(PosArgValidator(&user_host_dir_), "[user@]host:src-dir")
|
||||
lyra::arg(PosArgValidator(&user_host_dir_), "[user@]host:dir")
|
||||
.required()
|
||||
.help("Linux host and directory to stream to"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user