Skip to content

Commit 7e920e4

Browse files
committed
long desc for commit task
1 parent 7381a7d commit 7e920e4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/redmine_cli/tasks/commit.rb

+5
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ class Commit < Base
1515

1616
['fixes', 'closes', 'refs'].each do |method|
1717
desc "#{method} [<search>] [-a] [-m <msg>] [-A | -C] [-I]", "Search for issue and commit with #{method}."
18+
long_desc <<-DOC
19+
If <search> is present, the command displays a list of issues
20+
with matching sujects. If no <search> is given, the command
21+
tries to determine the issue from the current worktime.
22+
DOC
1823
define_method method do |*args|
1924
commit(args.first, options.merge(:prefix => method))
2025
end

0 commit comments

Comments
 (0)