From b766de4f1800596feb48a10d3b2d26621ce255d9 Mon Sep 17 00:00:00 2001 From: Ken Hibino Date: Mon, 9 Dec 2019 06:58:34 -0800 Subject: [PATCH] [ci skip] Update documentations for enq command --- tools/asynqmon/cmd/enq.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/asynqmon/cmd/enq.go b/tools/asynqmon/cmd/enq.go index e4b038b..f164990 100644 --- a/tools/asynqmon/cmd/enq.go +++ b/tools/asynqmon/cmd/enq.go @@ -15,8 +15,10 @@ var enqCmd = &cobra.Command{ Short: "Enqueues a task given an identifier", Long: `The enq command enqueues a task given an identifier. -The target task should be in either scheduled, retry or dead queue. +The command takes one argument which specifies the task to enqueue. +The task should be in either scheduled, retry or dead queue. Identifier for a task should be obtained by running "asynqmon ls" command. + The task enqueued by this command will be processed as soon as the task gets dequeued by a processor.