Update toot online examples
authorMikael Berthe <mikael@lilotux.net>
Tue, 04 Sep 2018 17:36:13 +0200
changeset 221 970c319e1f7c
parent 220 08a2ee738117
child 222 e93d9c738273
Update toot online examples
cmd/status.go
cmd/toot.go
--- a/cmd/status.go	Tue Sep 04 15:58:46 2018 +0200
+++ b/cmd/status.go	Tue Sep 04 17:36:13 2018 +0200
@@ -194,7 +194,9 @@
 	Use:     "post",
 	Aliases: []string{"toot", "pouet"},
 	Short:   "Post a message (same as 'madonctl toot')",
-	Example: `  madonctl status post --spoiler Warning "Hello, World"
+	Example: `  madonctl status post "Hello, World"
+  madonctl status post --spoiler Warning "Spoiled"
+  madonctl status toot --visibility private "To my followers only"
   madonctl status toot --sensitive --file image.jpg Image
   madonctl status post --media-ids ID1,ID2,ID3 Image
   madonctl status toot --text-file message.txt
--- a/cmd/toot.go	Tue Sep 04 15:58:46 2018 +0200
+++ b/cmd/toot.go	Tue Sep 04 17:36:13 2018 +0200
@@ -49,6 +49,7 @@
 	Aliases: []string{"post", "pouet"},
 	Short:   "Post a message (toot)",
 	Example: `  madonctl toot message
+  madonctl toot --visibility private "To my followers only"
   madonctl toot --spoiler Warning "Hello, World"
   madonctl status post --media-ids ID1,ID2 "Here are the photos"
   madonctl post --sensitive --file image.jpg Image