Skip to content

Commit a2ecde1

Browse files
author
Matthew
committed
fix(deisctl): remove unused options docstring
These commands do not have any option flags, so this wil clear up any confusion when a user expects the help command to display its flags.
1 parent bc33750 commit a2ecde1

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

deisctl/client/client.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ func (c *Client) Journal(argv []string) error {
215215
usage := `Prints log output for the specified components.
216216
217217
Usage:
218-
deisctl journal [<target>...] [options]
218+
deisctl journal [<target>...]
219219
`
220220
// parse command-line arguments
221221
args, err := docopt.Parse(usage, argv, true, "", false)
@@ -231,7 +231,7 @@ func (c *Client) List(argv []string) error {
231231
usage := `Prints a list of installed units.
232232
233233
Usage:
234-
deisctl list [options]
234+
deisctl list
235235
`
236236
// parse command-line arguments
237237
if _, err := docopt.Parse(usage, argv, true, "", false); err != nil {
@@ -275,7 +275,7 @@ func (c *Client) Restart(argv []string) error {
275275
usage := `Stops and then starts the specified components.
276276
277277
Usage:
278-
deisctl restart [<target>...] [options]
278+
deisctl restart [<target>...]
279279
`
280280
// parse command-line arguments
281281
args, err := docopt.Parse(usage, argv, true, "", false)
@@ -293,7 +293,7 @@ func (c *Client) Scale(argv []string) error {
293293
Currently "router", "registry" and "store-gateway" are the only types that can be scaled.
294294
295295
Usage:
296-
deisctl scale [<target>...] [options]
296+
deisctl scale [<target>...]
297297
`
298298
// parse command-line arguments
299299
args, err := docopt.Parse(usage, argv, true, "", false)
@@ -368,7 +368,7 @@ func (c *Client) Start(argv []string) error {
368368
usage := `Activates the specified components.
369369
370370
Usage:
371-
deisctl start [<target>...] [options]
371+
deisctl start [<target>...]
372372
`
373373
// parse command-line arguments
374374
args, err := docopt.Parse(usage, argv, true, "", false)
@@ -384,7 +384,7 @@ func (c *Client) Status(argv []string) error {
384384
usage := `Prints the current status of components.
385385
386386
Usage:
387-
deisctl status [<target>...] [options]
387+
deisctl status [<target>...]
388388
`
389389
// parse command-line arguments
390390
args, err := docopt.Parse(usage, argv, true, "", false)
@@ -400,7 +400,7 @@ func (c *Client) Stop(argv []string) error {
400400
usage := `Deactivates the specified components.
401401
402402
Usage:
403-
deisctl stop [<target>...] [options]
403+
deisctl stop [<target>...]
404404
`
405405
// parse command-line arguments
406406
args, err := docopt.Parse(usage, argv, true, "", false)
@@ -419,7 +419,7 @@ func (c *Client) Uninstall(argv []string) error {
419419
After uninstall, the components will be unavailable until install is called.
420420
421421
Usage:
422-
deisctl uninstall [<target>...] [options]
422+
deisctl uninstall [<target>...]
423423
`
424424
// parse command-line arguments
425425
args, err := docopt.Parse(usage, argv, true, "", false)

0 commit comments

Comments
 (0)