Cake-Resque icon indicating copy to clipboard operation
Cake-Resque copied to clipboard

Duplicate shell param (-q).

Open bar opened this issue 11 years ago • 4 comments

I'm adding documentation to console sub commands and missing options (not positional params) to the missing sub commands from CakeResqueShel; be enqueue, enqueueIn, enqueueAt, and as start, they accept a queue but when I was adding that I noticed the short param -q is used by Shell to enable quiet output.

./Console/cake CakeResque.CakeResque
--quiet, -q    Enable quiet output.
./Console/cake CakeResque.CakeResque start -h
--quiet, -q               Enable quiet output.
--queue, -q               Name of the queue. If multiple queues, separe
                          with comma.

Would you mind if I change the -q param to something else? If yes, what would you like it to be?¿

bar avatar Dec 04 '13 16:12 bar

Solution 1: Remove the short version, and always use --queue. Solution 2: Remove the default --quiet from the option. It's useless since it's already been overwritten by --queue

wa0x6e avatar Dec 05 '13 11:12 wa0x6e

Solution 3: Change the short version to another letter.

Nevertheless, I think I prefer solution 2, what do you think?

bar avatar Dec 05 '13 12:12 bar

+1 for Number 2

wa0x6e avatar Dec 05 '13 12:12 wa0x6e

+1 for Number 1

johannesnagl avatar Nov 06 '14 14:11 johannesnagl