Skip to content

Commit

Permalink
Undocument channel unit option. Update readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
kamijin-fanta committed Dec 5, 2016
1 parent 6fb5a55 commit 9d70ef2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ Commands:
datastore
channels [<flags>]
messages [<flags>]
websocket
listen [<flags>]
```

### --help-long
Expand Down Expand Up @@ -135,7 +137,6 @@ Commands:
-m, --module="" Module ID
-s, --size="100" Fetch Size
--unit=UNIT Unit channel/message
--order=ORDER Order asc/desc
--token=TOKEN Service Token
--cursor=CURSOR Cursor
Expand All @@ -157,4 +158,10 @@ Commands:
--project=PROJECT Project ID
--raw Raw JSON output
--token=TOKEN Service Token
service websocket listen [<flags>]
Listen to Websocket
--project=PROJECT Project ID
--token=TOKEN Service Token
```
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ var (
var dataStoreChannelOption = service.DataStoreChannelOptions{
Module: DataStoreChannelsCmd.Flag("module", "Module ID").Short('m').Default("").String(),
Size: DataStoreChannelsCmd.Flag("size", "Fetch Size").Short('s').Default("100").String(),
Unit: DataStoreChannelsCmd.Flag("unit", "Unit channel/message").String(),
Unit: DataStoreChannelsCmd.Flag("unit", "Unit channel/message").Hidden().String(),
Order: DataStoreChannelsCmd.Flag("order", "Order asc/desc").String(),
Token: DataStoreChannelsCmd.Flag("token", "Service Token").String(),
Cursor: DataStoreChannelsCmd.Flag("cursor", "Cursor").String(),
Expand Down

0 comments on commit 9d70ef2

Please sign in to comment.