diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2020-01-01 23:45:30 +0100 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2020-01-01 23:45:30 +0100 |
commit | bee7318ca808d36b29cbf6021ec47252ab2305f8 (patch) | |
tree | 58c5859e1d97e0d38c3cca7fe93489508e38e64e /examples/zotcli.rs | |
parent | 1fd9f311a55759a613e4df66d462a34102644380 (diff) | |
download | rust-zotapi-bee7318ca808d36b29cbf6021ec47252ab2305f8.tar.gz rust-zotapi-bee7318ca808d36b29cbf6021ec47252ab2305f8.tar.bz2 rust-zotapi-bee7318ca808d36b29cbf6021ec47252ab2305f8.zip |
zotcli: Limit post to one or more groups.
Diffstat (limited to 'examples/zotcli.rs')
-rw-r--r-- | examples/zotcli.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/zotcli.rs b/examples/zotcli.rs index 0925a1f..2b068e0 100644 --- a/examples/zotcli.rs +++ b/examples/zotcli.rs @@ -75,6 +75,7 @@ fn main() { (@arg BODY: +required "Body of the message") (@arg TITLE: --title +takes_value "Set a title for the message") (@arg ATTACH: --attach [FILE] "Attach a file or image to the post") + (@arg GROUP: --group [groups] "Limit distribution to the specified group(s) separated by comma") ) ) .get_matches(); |